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.



980
981
982
983
# File 'lib/fdbimpl.rb', line 980

def initialize(key, value)
  @key = key
  @value = value
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



978
979
980
# File 'lib/fdbimpl.rb', line 978

def key
  @key
end

#valueObject (readonly)

Returns the value of attribute value.



978
979
980
# File 'lib/fdbimpl.rb', line 978

def value
  @value
end