mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Eliminate method redefinition warning
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user