Class: VK::O

Inherits:
Object
  • Object
show all
Defined in:
lib/valkey/objects.rb

Direct Known Subclasses

B, C, G, H, P, Q, S, T, V

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(k) ⇒ O

Returns a new instance of O.



73
74
75
# File 'lib/valkey/objects.rb', line 73

def initialize k
  @key = k
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



72
73
74
# File 'lib/valkey/objects.rb', line 72

def key
  @key
end