Sha256: 3a1ee298e42c86c02f52e2f33dff04c92b7003c8ddc555b30f87fc403e83fb38

Contents?: true

Size: 229 Bytes

Versions: 10

Compression:

Stored size: 229 Bytes

Contents

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-4.2.1 lib/rom/relation_registry.rb
rom-core-4.2.0 lib/rom/relation_registry.rb
rom-core-4.1.2 lib/rom/relation_registry.rb
rom-core-4.1.1 lib/rom/relation_registry.rb
rom-core-4.1.0 lib/rom/relation_registry.rb
rom-core-4.0.2 lib/rom/relation_registry.rb
rom-core-4.0.1 lib/rom/relation_registry.rb
rom-core-4.0.0 lib/rom/relation_registry.rb
rom-core-4.0.0.rc2 lib/rom/relation_registry.rb
rom-core-4.0.0.rc1 lib/rom/relation_registry.rb