Module: Circuitbox::TimeHelper::Monotonic

Included in:
MemoryStore, MemoryStore::Container
Defined in:
lib/circuitbox/time_helper/monotonic.rb

Class Method Summary collapse

Class Method Details

.current_secondObject



8
9
10
# File 'lib/circuitbox/time_helper/monotonic.rb', line 8

def current_second
  Process.clock_gettime(Process::CLOCK_MONOTONIC, :second)
end