Module: Workarea::StatusCalculator::Status

Instance Method Summary collapse

Instance Method Details

#in_status?Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


15
16
17
# File 'app/models/workarea/status_calculator.rb', line 15

def in_status?
  raise(NotImplementedError, 'a Status must implement the #in_status?')
end

#initialize(model) ⇒ Object



11
12
13
# File 'app/models/workarea/status_calculator.rb', line 11

def initialize(model)
  @order = @model = model
end