Sha256: 567690acddd6d5b7316eda80acfd1beba3df13f3bd9a9133a85126d79044ad50

Contents?: true

Size: 326 Bytes

Versions: 1

Compression:

Stored size: 326 Bytes

Contents

# frozen_string_literal: true

require 'rom/associations/many_to_many'

module Gladwords
  module Associations
    # Many to many implementation
    class ManyToMany < ROM::Associations::ManyToMany
      def call(target:)
        target
      end

      def preload(target, _loaded)
        target
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gladwords-1.0.1 lib/gladwords/associations/many_to_many.rb