lib/more/facets/duration.rb in facets-2.8.0 vs lib/more/facets/duration.rb in facets-2.8.1
- old
+ new
@@ -126,10 +126,10 @@
def -(other)
self.class.new(@seconds - other.to_i, segments)
end
- def +(other)
+ def *(other)
self.class.new(@seconds * other.to_i, segments)
end
def /(other)
self.class.new(@seconds / other.to_i, segments)