Class: FDB::KeyValue

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#keyObject (readonly)

Returns the value of attribute key.



1018
1019
1020
# File 'lib/fdbimpl.rb', line 1018

def key
  @key
end

#valueObject (readonly)

Returns the value of attribute value.



1018
1019
1020
# File 'lib/fdbimpl.rb', line 1018

def value
  @value
end