lib/txt_timesheet.rb in txt_timesheet-1.1.1 vs lib/txt_timesheet.rb in txt_timesheet-1.1.2
- old
+ new
@@ -86,13 +86,10 @@
total_time += sum_time # Acumulates the worked time of each file
end
time_file = convert(total_time)
- ### Converts the total worked time
- hours = total_time/60
- hours = hours.to_i
- minutes = total_time - hours * 60
+
puts "Total Hours: #{time_file} hours\n"
###
####