Class: Critbit::Cursor

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(&block) ⇒ Cursor





614
615
616
# File 'lib/critbit.rb', line 614

def initialize(&block)
  @block = block
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



607
608
609
# File 'lib/critbit.rb', line 607

def key
  @key
end

#valueObject (readonly)

Returns the value of attribute value.



608
609
610
# File 'lib/critbit.rb', line 608

def value
  @value
end