lib/taskjuggler/AccountScenario.rb in taskjuggler-0.1.1 vs lib/taskjuggler/AccountScenario.rb in taskjuggler-0.2.0
- old
+ new
@@ -20,10 +20,10 @@
def initialize(account, scenarioIdx, attributes)
super
end
- # Compute the turnover for the _period_. Period should be an Interval.
+ # Compute the turnover for the _period_. Period should be a TimeInterval.
def turnover(period)
amount = 0.0
if container?
@children.each { |child| amount += child.turnover }
else