9 10 11 12
# File 'lib/mls/models/time_log.rb', line 9 def duration return nil if !(started_at && stopped_at) stopped_at - started_at end