Module: Groovy::Model::PatriciaTrieMethods

Extended by:
Forwardable
Defined in:
lib/groovy/model.rb

Instance Method Summary collapse

Instance Method Details

#each_with_prefix(prefix, options = {}, &block) ⇒ Object



315
316
317
318
319
# File 'lib/groovy/model.rb', line 315

def each_with_prefix(prefix, options = {}, &block)
  table.open_prefix_cursor(prefix, options) do |cursor|
    cursor.each { |r| yield r }
  end
end