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.



1012
1013
1014
1015
# File 'lib/fdbimpl.rb', line 1012

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

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



1010
1011
1012
# File 'lib/fdbimpl.rb', line 1010

def key
  @key
end

#valueObject (readonly)

Returns the value of attribute value.



1010
1011
1012
# File 'lib/fdbimpl.rb', line 1010

def value
  @value
end