Module: Afterburn::List::Role

Extended by:
Role
Included in:
Role
Defined in:
lib/afterburn/list.rb

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

Returns:

  • (Boolean)


20
21
22
# File 'lib/afterburn/list.rb', line 20

def historical?(role)
  HISTORICAL.include?(role)
end

#valid?(role) ⇒ Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/afterburn/list.rb', line 16

def valid?(role)
  VALID_ROLES.include?(role)
end