Class: Hacklet::SamplesResponse
- Defined in:
- lib/hacklet/messages.rb
Instance Method Summary collapse
Methods inherited from Message
Instance Method Details
#converted_samples ⇒ Object
145 146 147 148 |
# File 'lib/hacklet/messages.rb', line 145 def converted_samples t = time - 10 samples.map { |s| t += 10; [Time.at(t), (s/13.0).round] } end |