Class: VK::O
- Inherits:
-
Object
- Object
- VK::O
- Defined in:
- lib/valkey/objects.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(k) ⇒ O
constructor
A new instance of O.
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
#key ⇒ Object (readonly)
Returns the value of attribute key.
72 73 74 |
# File 'lib/valkey/objects.rb', line 72 def key @key end |