Class: AQI::OutcomesPreparer
- Inherits:
-
Object
- Object
- AQI::OutcomesPreparer
- Defined in:
- lib/aqi/outcome.rb
Class Method Summary collapse
Class Method Details
.outcome ⇒ Object
90 91 92 |
# File 'lib/aqi/outcome.rb', line 90 def self.outcome Outcome end |
.prepare_outcomes(outcome_events) ⇒ Object
82 83 84 85 86 87 88 |
# File 'lib/aqi/outcome.rb', line 82 def self.prepare_outcomes(outcome_events) outcomes = outcome_events.outcomes outcomes.collect do |o| self.outcome.new(o) end end |