chronological 1.0.0beta4 → 1.0.0beta5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/chronological/version.rb +1 -1
- data/lib/chronological.rb +2 -2
- metadata +1 -1
data/lib/chronological.rb
CHANGED
@@ -43,8 +43,8 @@ module Chronological
|
|
43
43
|
strategy.in_progress?(self)
|
44
44
|
end
|
45
45
|
|
46
|
-
define_method(:duration) do
|
47
|
-
strategy.duration(self)
|
46
|
+
define_method(:duration) do |options|
|
47
|
+
strategy.duration(self, options)
|
48
48
|
end
|
49
49
|
|
50
50
|
define_method(strategy.field_names[:starting_date]) do
|