class PropertyList::OrdSet
call-seq:
PropertyList::OrdSet.new ['foo', 'bar', 3, 4]
Attributes
elements[R]
Public Class Methods
new(elements)
click to toggle source
# File lib/property-list.rb, line 112 def initialize elements @elements = elements.uniq end
Public Instance Methods
==(other)
click to toggle source
# File lib/property-list.rb, line 118 def == other other.is_a?(OrdSet) and @elements == other.elements end