Sha256: f4ac875b0579e3b0762dfed3551d1e5d2fccd559b2044f0f7f1136f5a6d2851e

Contents?: true

Size: 549 Bytes

Versions: 41

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

41 entries across 41 versions & 5 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/migration/execution_strategy.rb
activerecord-8.0.1 lib/active_record/migration/execution_strategy.rb
activerecord-8.0.0.1 lib/active_record/migration/execution_strategy.rb
activerecord-7.2.2.1 lib/active_record/migration/execution_strategy.rb
activerecord-7.1.5.1 lib/active_record/migration/execution_strategy.rb
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