344 345 346 347 348
# File 'lib/bluth.rb', line 344 def duration return 0 if @stime.nil? et = @etime || Time.now.utc.to_i et - @stime end