Class: EndState::Concluder
- Inherits:
-
Object
- Object
- EndState::Concluder
- Includes:
- Messages
- Defined in:
- lib/end_state/concluder.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(object, state, params) ⇒ Concluder
constructor
A new instance of Concluder.
- #rollback ⇒ Object
Methods included from Messages
Constructor Details
#initialize(object, state, params) ⇒ Concluder
Returns a new instance of Concluder.
6 7 8 9 10 |
# File 'lib/end_state/concluder.rb', line 6 def initialize(object, state, params) @object = object @state = state @params = params end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
4 5 6 |
# File 'lib/end_state/concluder.rb', line 4 def object @object end |
#params ⇒ Object (readonly)
Returns the value of attribute params.
4 5 6 |
# File 'lib/end_state/concluder.rb', line 4 def params @params end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
4 5 6 |
# File 'lib/end_state/concluder.rb', line 4 def state @state end |
Instance Method Details
#call ⇒ Object
12 13 14 |
# File 'lib/end_state/concluder.rb', line 12 def call false end |
#rollback ⇒ Object
16 17 |
# File 'lib/end_state/concluder.rb', line 16 def rollback end |