Class: FDB::KeyValue
- Inherits:
-
Object
- Object
- FDB::KeyValue
- Defined in:
- lib/fdbimpl.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(key, value) ⇒ KeyValue
constructor
A new instance of KeyValue.
Constructor Details
#initialize(key, value) ⇒ KeyValue
Returns a new instance of KeyValue.
1020 1021 1022 1023 |
# File 'lib/fdbimpl.rb', line 1020 def initialize(key, value) @key = key @value = value end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
1018 1019 1020 |
# File 'lib/fdbimpl.rb', line 1018 def key @key end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
1018 1019 1020 |
# File 'lib/fdbimpl.rb', line 1018 def value @value end |