module Assert::RoundedMillisecondTime

Constants

ROUND_MODIFIER
ROUND_PRECISION

Public Class Methods

new(time_in_seconds) click to toggle source
# File lib/assert/cli.rb, line 145
def self.new(time_in_seconds)
  (time_in_seconds * 1000 * ROUND_MODIFIER).to_i / ROUND_MODIFIER.to_f
end