Method: RulesEngine::Rule::Outcome#initialize
- Defined in:
- lib/rules_engine/rule/outcome.rb
#initialize(outcome, workflow_code = nil) ⇒ Outcome
Returns a new instance of Outcome.
5 6 7 8 |
# File 'lib/rules_engine/rule/outcome.rb', line 5 def initialize(outcome, workflow_code = nil) @outcome = outcome @workflow_code = workflow_code end |