1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Eliminate method redefinition warning

This commit is contained in:
Jeremy Kemper 2008-11-19 11:07:19 -08:00
parent baa8ee5eb1
commit bedea33043

View file

@ -4,7 +4,8 @@ require 'active_model/state_machine/event'
module ActiveModel
module StateMachine
class Machine
attr_accessor :initial_state, :states, :events, :state_index
attr_writer :initial_state
attr_accessor :states, :events, :state_index
attr_reader :klass, :name
def initialize(klass, name, options = {}, &block)