Method: Milemarker::Structured#batch_line
- Defined in:
- lib/milemarker/structured.rb
#batch_line ⇒ Hash Also known as: batch_data
Returns hash with information about the last batch.
41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/milemarker/structured.rb', line 41 def batch_line { name: name, batch_count: last_batch_size, batch_seconds: last_batch_seconds, batch_rate: batch_rate, total_count: count, total_seconds: total_seconds_so_far, total_rate: total_rate } end |