Class: LifecycleVM::Then::Simple
- Inherits:
-
Object
- Object
- LifecycleVM::Then::Simple
- Defined in:
- lib/lifecycle_vm/then.rb
Instance Method Summary collapse
- #call(_vm) ⇒ Object
-
#initialize(state) ⇒ Simple
constructor
A new instance of Simple.
Constructor Details
#initialize(state) ⇒ Simple
Returns a new instance of Simple.
22 23 24 |
# File 'lib/lifecycle_vm/then.rb', line 22 def initialize(state) @state = state end |
Instance Method Details
#call(_vm) ⇒ Object
26 27 28 |
# File 'lib/lifecycle_vm/then.rb', line 26 def call(_vm) @state end |