Class: VK::H
- 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
#[](k) ⇒ Object
148
149
150
|
# File 'lib/valkey/objects.rb', line 148
def [] k
VK.redis.call("HGET", key, k);
end
|
#[]=(k, v) ⇒ Object
151
152
153
|
# File 'lib/valkey/objects.rb', line 151
def []= k,v
VK.redis.call("HMSET", key, k, v);
end
|