lib/taskjuggler/TimeSheets.rb in taskjuggler-3.6.0 vs lib/taskjuggler/TimeSheets.rb in taskjuggler-3.7.1

- old
+ new

@@ -44,14 +44,14 @@ @status = nil @priority = 0 @sourceFileInfo = nil end - # Store the number of worked time slots. If the value is a Fixnum, it can + # Store the number of worked time slots. If the value is an Integer, it can # be directly assigned. A Float is interpreted as percentage and must be # in the rage of 0.0 to 1.0. def work=(value) - if value.is_a?(Fixnum) + if value.is_a?(Integer) @work = value else # Must be percent value @work = @timeSheet.percentToSlots(value) end