Method: ActiveRecord::Migration::CommandRecorder#initialize
- Defined in:
- activerecord/lib/active_record/migration/command_recorder.rb
#initialize(delegate = nil) ⇒ CommandRecorder
Returns a new instance of CommandRecorder.
67 68 69 70 71 |
# File 'activerecord/lib/active_record/migration/command_recorder.rb', line 67 def initialize(delegate = nil) @commands = [] @delegate = delegate @reverting = false end |