Module: Opensteam::OrderBase::OrderExtension
- Defined in:
- lib/opensteam/order_base.rb
Instance Method Summary collapse
-
#all_finished? ⇒ Boolean
checks if all items are finished (if state == :finished).
Instance Method Details
#all_finished? ⇒ Boolean
checks if all items are finished (if state == :finished)
34 |
# File 'lib/opensteam/order_base.rb', line 34 def all_finished? ; empty? ? false : collect(&:finished?).all? ; end |