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:
parent
baa8ee5eb1
commit
bedea33043
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue