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.
980 981 982 983 |
# File 'lib/fdbimpl.rb', line 980 def initialize(key, value) @key = key @value = value end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
978 979 980 |
# File 'lib/fdbimpl.rb', line 978 def key @key end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
978 979 980 |
# File 'lib/fdbimpl.rb', line 978 def value @value end |