Enable Style/WordArray
This commit is contained in:
parent
d1439f8a52
commit
6eeba14885
19 changed files with 23 additions and 22 deletions
|
@ -1,6 +1,6 @@
|
|||
class PurgeDraftDossier < ActiveRecord::Migration
|
||||
class Dossier < ApplicationRecord
|
||||
BROUILLON = %w(draft)
|
||||
BROUILLON = ['draft']
|
||||
|
||||
def brouillon?
|
||||
BROUILLON.include?(state)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue