lib/danica/number.rb in danica-2.0.3 vs lib/danica/number.rb in danica-2.0.4

- old
+ new

@@ -18,10 +18,14 @@ def valued? value.present? end + def ==(other) + return false unless other.class == self.class + value == other.value + end + alias_method :to_gnu, :to_tex end end -