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
activerecord-7.1.0.beta1 lib/active_record/migration/execution_strategy.rb