Class: Array
Instance Method Summary collapse
Instance Method Details
#status ⇒ Object
160 161 162 163 164 165 166 167 |
# File 'lib/marso/helpers/statushelper.rb', line 160 def status _status = :none unless self.nil? || self.empty? _status = self.reduce { |x,y| Marso.item_with_stronger_status(x, y) }.status end return _status == :failed_no_component ? :failed : _status end |