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
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
activerecord-7.2.0.rc1 lib/active_record/migration/execution_strategy.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/migration/execution_strategy.rb
activerecord-7.2.0.beta3 lib/active_record/migration/execution_strategy.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.3.4/lib/active_record/migration/execution_strategy.rb
activerecord-7.2.0.beta2 lib/active_record/migration/execution_strategy.rb
activerecord-7.1.3.4 lib/active_record/migration/execution_strategy.rb
activerecord-7.2.0.beta1 lib/active_record/migration/execution_strategy.rb
activerecord-7.1.3.2 lib/active_record/migration/execution_strategy.rb
activerecord-7.1.3.1 lib/active_record/migration/execution_strategy.rb
activerecord-7.1.3 lib/active_record/migration/execution_strategy.rb
activerecord-7.1.2 lib/active_record/migration/execution_strategy.rb
activerecord-7.1.1 lib/active_record/migration/execution_strategy.rb
activerecord-7.1.0 lib/active_record/migration/execution_strategy.rb
activerecord-7.1.0.rc2 lib/active_record/migration/execution_strategy.rb
activerecord-7.1.0.rc1 lib/active_record/migration/execution_strategy.rb