Module: Afterburn::List::Role
Constant Summary collapse
- VALID_ROLES =
[ BACKLOG = 'backlog', WIP = 'WIP', # work in progress DEPLOYED = 'deployed', IGNORED = 'ignored' ]
- HISTORICAL =
[BACKLOG, DEPLOYED]
Instance Method Summary collapse
Instance Method Details
#historical?(role) ⇒ Boolean
20 21 22 |
# File 'lib/afterburn/list.rb', line 20 def historical?(role) HISTORICAL.include?(role) end |
#valid?(role) ⇒ Boolean
16 17 18 |
# File 'lib/afterburn/list.rb', line 16 def valid?(role) VALID_ROLES.include?(role) end |