Class: Workarea::Release::Status::Undone

Inherits:
Object
  • Object
show all
Includes:
StatusCalculator::Status
Defined in:
app/models/workarea/release/status.rb

Instance Method Summary collapse

Methods included from StatusCalculator::Status

#initialize

Instance Method Details

#in_status?Boolean

Returns:

  • (Boolean)


35
36
37
38
# File 'app/models/workarea/release/status.rb', line 35

def in_status?
  model.published_at.present? &&
  model.undone_at.present?
end