refactor(tdc): convert fill duration in Duration objects
This commit is contained in:
parent
010c9a0dcb
commit
3a06e7e0b3
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ class TypesDeChamp::TypeDeChampBase
|
|||
delegate :description, :libelle, :mandatory, :stable_id, :fillable?, to: :@type_de_champ
|
||||
|
||||
FILL_DURATION_SHORT = 10.seconds
|
||||
FILL_DURATION_MEDIUM = 1.minute.in_seconds
|
||||
FILL_DURATION_LONG = 3.minutes.in_seconds
|
||||
FILL_DURATION_MEDIUM = 1.minute
|
||||
FILL_DURATION_LONG = 3.minutes
|
||||
READ_WORDS_PER_SECOND = 140.0 / 60 # 140 words per minute
|
||||
|
||||
def initialize(type_de_champ)
|
||||
|
|
Loading…
Reference in a new issue