module Clock::Timestamp
Public Instance Methods
timestamp(time=nil, system_time: nil)
click to toggle source
# File lib/clock/clock.rb, line 115 def timestamp(time=nil, system_time: nil) time ||= now(system_time: system_time) time.to_f end