Module: VK::AGO

Defined in:
lib/valkey/objects.rb

Defined Under Namespace

Classes: Clock, Error

Class Method Summary collapse

Class Method Details

.[](k) ⇒ Object



54
55
56
# File 'lib/valkey/objects.rb', line 54

def self.[] k
  Clock.new(k)
end

.nowObject



51
52
53
# File 'lib/valkey/objects.rb', line 51

def self.now
  Time.now.utc
end