Class: Critbit::EachCursor

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





620
621
622
623
# File 'lib/critbit.rb', line 620

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