module Flow::Flow::Core
Public Class Methods
new(state_instance = nil, **options)
click to toggle source
# File lib/flow/flow/core.rb, line 22 def initialize(state_instance = nil, **options) run_callbacks(:initialize) do @state = state_instance || state_class.new(**options) end end
Public Instance Methods
state_class()
click to toggle source
# File lib/flow/flow/core.rb, line 10 def state_class conjugate(StateBase) end