lib/dydx/helper.rb in dydx-0.1.1 vs lib/dydx/helper.rb in dydx-0.1.2

- old
+ new

@@ -123,7 +123,11 @@ Symbol.class_eval do def commutative? [:+, :*].include?(self) end end + + def ==(x) + to_s == x.to_s + end end end