lib/repeatable/expression/set.rb in repeatable-0.6.0 vs lib/repeatable/expression/set.rb in repeatable-1.0.0

- old
+ new

@@ -1,8 +1,10 @@ module Repeatable module Expression class Set < Base + attr_reader :elements + def initialize(*elements) @elements = elements.flatten.uniq end def <<(element) @@ -17,12 +19,8 @@ def ==(other) other.is_a?(self.class) && elements.size == other.elements.size && other.elements.all? { |e| elements.include?(e) } end - - protected - - attr_reader :elements end end end