Permalink
Browse files

Eliminate method redefinition warning

  • Loading branch information...
1 parent baa8ee5 commit bedea330432444ffcc003b54ae12c5ecc4e4b3eb @jeremy jeremy committed Nov 19, 2008
Showing with 2 additions and 1 deletion.
  1. +2 −1 activemodel/lib/active_model/state_machine/machine.rb
@@ -4,7 +4,8 @@
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)

0 comments on commit bedea33

Please sign in to comment.