Sha256: ba79d714587b02fc79338f6bc36d0355d9841e2040eaba9029d31a085a421b72

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 Bytes

Contents

# frozen_string_literal: true

module Pragma
  module AssociationIncluder
    class Base
      attr_reader :relation

      class << self
        def supports?(_relation)
          fail NotImplementedError
        end
      end

      def initialize(relation)
        @relation = relation
      end

      def include_associations(_expands)
        fail NotImplementedError
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pragma-2.5.0 lib/pragma/association_includer/base.rb