Method: ActiveRecord::Migration::CommandRecorder#initialize
- Defined in:
- lib/active_record/migration/command_recorder.rb
#initialize(delegate = nil) ⇒ CommandRecorder
Returns a new instance of CommandRecorder.
18 19 20 21 |
# File 'lib/active_record/migration/command_recorder.rb', line 18 def initialize(delegate = nil) @commands = [] @delegate = delegate end |