Sha256: 6ecf6e0b27f723146b061d77f3892ad3ce55b4fb72a531d7ed57c41431d3eb21
Contents?: true
Size: 307 Bytes
Versions: 3
Compression:
Stored size: 307 Bytes
Contents
require 'rom/registry' module ROM # @api public class AssociationSet < ROM::Registry # @api private def initialize(*) super elements.values.each do |assoc| if assoc.aliased? && !key?(assoc.name) elements[assoc.name] = assoc end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rom-core-4.0.0.beta3 | lib/rom/association_set.rb |
rom-core-4.0.0.beta2 | lib/rom/association_set.rb |
rom-core-4.0.0.beta1 | lib/rom/association_set.rb |