Sha256: dc3789d30c82973f8aea331d0cefcade23ddd86202e099a3008419ec655338f6
Contents?: true
Size: 176 Bytes
Versions: 1
Compression:
Stored size: 176 Bytes
Contents
module ClearObject class AttributeSet < Set def <<(attribute) if none? { |member| member.name == attribute.name} add(attribute) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
clear_object-0.1.0 | lib/clear_object/attribute_set.rb |