Class: VK::V
- Inherits:
-
O
show all
- Defined in:
- lib/valkey/objects.rb
Instance Attribute Summary
Attributes inherited from O
#key
Instance Method Summary
collapse
Methods inherited from O
#initialize
Constructor Details
This class inherits a constructor from VK::O
Instance Method Details
#value ⇒ Object
124
125
126
|
# File 'lib/valkey/objects.rb', line 124
def value
VK.redis.call("GET", key)
end
|
#value=(x) ⇒ Object
127
128
129
|
# File 'lib/valkey/objects.rb', line 127
def value= x
VK.redis.call("SET", key, x)
end
|