lib/danica/wrapper/negative.rb in danica-2.6.4 vs lib/danica/wrapper/negative.rb in danica-2.7.1
- old
+ new
@@ -17,11 +17,11 @@
def to_f
-value.to_f
end
- def to(format)
- "-#{wrap_as_group(value).to(format)}"
+ def to(*args)
+ "-#{wrap_as_group(value).to(*args)}"
end
def ==(other)
return false unless other.class == self.class
value == other.value