class Time
Extend core [Time](ruby-doc.org/stdlib-2.4.0/libdoc/time/rdoc/Time.html) class.
Public Instance Methods
to_ms()
click to toggle source
See [How do I get elapsed time in milliseconds in Ruby?](stackoverflow.com/questions/1414951/how-do-i-get-elapsed-time-in-milliseconds-in-ruby)
Not really used. Only to measure the execution from start to end. See `bin/timr`.
# File lib/timr/ext/time.rb, line 8 def to_ms (self.to_f * 1000.0).to_i end