master
StateMachine
class StateMachine attr_reader :object, :initial_state, :previous_state, :current_state def initialize(object) @object = object