Sha256: 952bb926aa582e43ca2fc72f776e5f0e25f178edf522e0073e22c35c78e0ccab

Contents?: true

Size: 203 Bytes

Versions: 3

Compression:

Stored size: 203 Bytes

Contents

class Circuitbox
  class MemoryStore
    module MonotonicTime
      module_function

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
circuitbox-2.0.0.pre3 lib/circuitbox/memory_store/monotonic_time.rb
circuitbox-2.0.0.pre2 lib/circuitbox/memory_store/monotonic_time.rb
circuitbox-2.0.0.pre1 lib/circuitbox/memory_store/monotonic_time.rb