class ClearObject::AttributeSet

Public Instance Methods

<<(attribute) click to toggle source
# File lib/clear_object/attribute_set.rb, line 3
def <<(attribute)
  if none? { |member| member.name == attribute.name}
    add(attribute)
  end
end