Class: LifecycleVM::Then::Simple

Inherits:
Object
  • Object
show all
Defined in:
lib/lifecycle_vm/then.rb

Instance Method Summary collapse

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