lib/fugit/duration.rb in fugit-0.9.2 vs lib/fugit/duration.rb in fugit-0.9.3
- old
+ new
@@ -249,9 +249,14 @@
def hash
@h.hash
end
+ def next_time(from=Time.now)
+
+ add(from)
+ end
+
protected
def init(original, h)
@original = original