Module: Vizsla::Helpers
- Included in:
- Patches
- Defined in:
- lib/vizsla/helpers.rb
Instance Method Summary collapse
Instance Method Details
#to_milliseconds(time) ⇒ Object
3 4 5 |
# File 'lib/vizsla/helpers.rb', line 3 def to_milliseconds(time) (time.to_f * 1000).round 1 end |