Method: ApplicationHelper#table_time_run

Defined in:
app/helpers/application_helper.rb

#table_time_run(table) ⇒ Object



55
56
57
58
# File 'app/helpers/application_helper.rb', line 55

def table_time_run(table)
  return "Unknown" if table.fetch_time_in_seconds.nil?
  seconds_sentence(table.fetch_time_in_seconds)
end