# File lib/state_machine/state.rb, line 213 def call(object, method, method_missing = nil, *args, &block) if context_method = methods[method.to_sym] # Method is defined by the state: proxy it through context_method.bind(object).call(*args, &block) else # Dispatch to the superclass since this state doesn't handle the method method_missing.call if method_missing end end