Class: Decider::Module::Decide
- Inherits:
-
Data
- Object
- Data
- Decider::Module::Decide
- Defined in:
- lib/decider.rb
Instance Attribute Summary collapse
-
#_events ⇒ Object
readonly
Returns the value of attribute _events.
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
Instance Method Summary collapse
Instance Attribute Details
#_events ⇒ Object (readonly)
Returns the value of attribute _events
48 49 50 |
# File 'lib/decider.rb', line 48 def _events @_events end |
#command ⇒ Object (readonly)
Returns the value of attribute command
48 49 50 |
# File 'lib/decider.rb', line 48 def command @command end |
#state ⇒ Object (readonly)
Returns the value of attribute state
48 49 50 |
# File 'lib/decider.rb', line 48 def state @state end |
Instance Method Details
#emit(*events) ⇒ Object
49 50 51 |
# File 'lib/decider.rb', line 49 def emit(*events) _events.push(*events) end |