Sha256: bc7ba8f05aa1ce0e79b1f52b0a8391ec84d5dd293476881a03a6d3d9b7c02ec2

Contents?: true

Size: 257 Bytes

Versions: 10

Compression:

Stored size: 257 Bytes

Contents

# frozen_string_literal: true

require 'rom/registry'

module ROM
  # @api private
  class RelationRegistry < Registry
    # @api private
    def initialize(elements = {}, **options)
      super
      yield(self, elements) if block_given?
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rom-core-5.4.0 lib/rom/relation_registry.rb
rom-core-5.3.2 lib/rom/relation_registry.rb
rom-core-5.3.1 lib/rom/relation_registry.rb
rom-core-5.3.0 lib/rom/relation_registry.rb
rom-core-5.2.6 lib/rom/relation_registry.rb
rom-core-5.2.5 lib/rom/relation_registry.rb
rom-core-5.2.4 lib/rom/relation_registry.rb
rom-core-5.2.3 lib/rom/relation_registry.rb
rom-core-5.2.2 lib/rom/relation_registry.rb
rom-core-5.2.1 lib/rom/relation_registry.rb