def define_path_helpers
      # Gets the paths of transitions available to the current object
      define_helper(:instance, attribute(:paths)) do |machine, object, *args|
        machine.paths_for(object, *args)
      end
    end
def define_path_helpers
      # Gets the paths of transitions available to the current object
      define_helper(:instance, attribute(:paths)) do |machine, object, *args|
        machine.paths_for(object, *args)
      end
    end
Adds helper methods for getting information about this state machine's
 available transition paths