# File lib/transitions.rb, line 26 def state_machine(options = {}, &block) @state_machine ||= Machine.new self block ? @state_machine.update(options, &block) : @state_machine end