Class: ActiveRecord::Migration::ExecutionStrategy
Do not use. This class is for internal use only.
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
|
|
Inherits: | Object |
Defined in: | activerecord/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.
Class Method Summary
- .new(migration) ⇒ ExecutionStrategy constructor
Instance Attribute Summary
- #migration readonly private
Constructor Details
.new(migration) ⇒ ExecutionStrategy
Instance Attribute Details
#migration (readonly, private)
[ GitHub ]# File 'activerecord/lib/active_record/migration/execution_strategy.rb', line 16
attr_reader :migration