Class: Critbit::EachKeyCursor

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

Instance Attribute Summary

Attributes inherited from Cursor

#key, #value

Instance Method Summary collapse

Methods inherited from Cursor

#initialize

Constructor Details

This class inherits a constructor from Critbit::Cursor

Instance Method Details

#select(entry) ⇒ Object





637
638
639
640
# File 'lib/critbit.rb', line 637

def select(entry)
  @block.call(entry.getKey())
  Decision::CONTINUE
end