Sha256: f4ac875b0579e3b0762dfed3551d1e5d2fccd559b2044f0f7f1136f5a6d2851e

Contents?: true

Size: 549 Bytes

Versions: 36

Compression:

Stored size: 549 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord
  class Migration
    # 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 ExecutionStrategy # :nodoc:
      def initialize(migration)
        @migration = migration
      end

      private
        attr_reader :migration
    end
  end
end

Version data entries

36 entries across 36 versions & 4 rubygems

Version Path
activerecord-8.0.0 lib/active_record/migration/execution_strategy.rb
activerecord-7.2.2 lib/active_record/migration/execution_strategy.rb
activerecord-7.1.5 lib/active_record/migration/execution_strategy.rb
activerecord-8.0.0.rc2 lib/active_record/migration/execution_strategy.rb
activerecord-7.2.1.2 lib/active_record/migration/execution_strategy.rb
activerecord-7.1.4.2 lib/active_record/migration/execution_strategy.rb
activerecord-8.0.0.rc1 lib/active_record/migration/execution_strategy.rb
activerecord-7.2.1.1 lib/active_record/migration/execution_strategy.rb
activerecord-7.1.4.1 lib/active_record/migration/execution_strategy.rb
activerecord-8.0.0.beta1 lib/active_record/migration/execution_strategy.rb
omg-activerecord-8.0.0.alpha9 lib/active_record/migration/execution_strategy.rb
omg-activerecord-8.0.0.alpha8 lib/active_record/migration/execution_strategy.rb
omg-activerecord-8.0.0.alpha7 lib/active_record/migration/execution_strategy.rb
omg-activerecord-8.0.0.alpha4 lib/active_record/migration/execution_strategy.rb
omg-activerecord-8.0.0.alpha3 lib/active_record/migration/execution_strategy.rb
omg-activerecord-8.0.0.alpha2 lib/active_record/migration/execution_strategy.rb
omg-activerecord-8.0.0.alpha1 lib/active_record/migration/execution_strategy.rb
activerecord-7.1.4 lib/active_record/migration/execution_strategy.rb
activerecord-7.2.1 lib/active_record/migration/execution_strategy.rb
activerecord-7.2.0 lib/active_record/migration/execution_strategy.rb