module Deas::RoundedTime
Constants
- ROUND_MODIFIER
- ROUND_PRECISION
Public Class Methods
new(time_in_seconds)
click to toggle source
# File lib/deas/logging.rb, line 135 def self.new(time_in_seconds) (time_in_seconds * 1000 * ROUND_MODIFIER).to_i / ROUND_MODIFIER.to_f end