Class: ActiveRecord::Migration::ExecutionStrategy
- Inherits:
-
Object
- Object
- ActiveRecord::Migration::ExecutionStrategy
- Defined in:
- lib/active_record/migration/execution_strategy.rb
Overview
ExecutionStrategy is used by the migration to respond to any method calls that the migration class does not implement directly. This is the base strategy. All strategies should inherit from this class.
The ExecutionStrategy receives the current migration
when initialized.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(migration) ⇒ ExecutionStrategy
constructor
:nodoc:.
Constructor Details
#initialize(migration) ⇒ ExecutionStrategy
:nodoc:
11 12 13 |
# File 'lib/active_record/migration/execution_strategy.rb', line 11 def initialize(migration) @migration = migration end |