# File lib/state_machine/machine.rb, line 1710 def action_hook action && owner_class_ancestor_has_method?(:instance, action) ? action : nil end