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

- old
+ new

@@ -25,26 +25,26 @@ end def union(other) Union.new(self, other) end - alias + union - alias | union + alias_method :+, :union + alias_method :|, :union def intersection(other) Intersection.new(self, other) end - alias & intersection + alias_method :&, :intersection def difference(other) Difference.new(included: self, excluded: other) end - alias - difference + alias_method :-, :difference private def hash_key - self.class.name.split('::').last + self.class.name.split("::").last .gsub(/(?<!\b)[A-Z]/) { "_#{Regexp.last_match[0]}" } .downcase .to_sym end end