Sha256: 761b3f5bc8f9b7a1ee2a19ea8cb7f7ca39ac65bb0969dd04fa7876e4253dbf6c

Contents?: true

Size: 260 Bytes

Versions: 6

Compression:

Stored size: 260 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

6 entries across 6 versions & 1 rubygems

Version Path
rom-core-5.1.2 lib/rom/relation_registry.rb
rom-core-5.1.1 lib/rom/relation_registry.rb
rom-core-5.1.0 lib/rom/relation_registry.rb
rom-core-5.0.2 lib/rom/relation_registry.rb
rom-core-5.0.1 lib/rom/relation_registry.rb
rom-core-5.0.0 lib/rom/relation_registry.rb