47 48 49 50
# File 'lib/models/task.rb', line 47 def duration return '-' if end_at.blank? convert_to_hour_and_minutes(accumulated_spent_time) end