module ActionLogic::ActionCore
Attributes
context[RW]
Public Class Methods
new(params)
click to toggle source
# File lib/action_logic/action_core.rb, line 5 def initialize(params) self.context = make_context(params) end
Public Instance Methods
break?()
click to toggle source
# File lib/action_logic/action_core.rb, line 13 def break? context.status == :failure || context.status == :halted end
make_context(params = {})
click to toggle source
# File lib/action_logic/action_core.rb, line 9 def make_context(params = {}) ActionContext.new(params) end