Sha256: b023c2895be6df57ecf6210f1d089355dad57a15f325ad83593a093a925b0c65

Contents?: true

Size: 172 Bytes

Versions: 2

Compression:

Stored size: 172 Bytes

Contents

module Groonga
  class TableCursor
    def each
      loop do
        id = self.next
        return if id == Groonga::ID::NIL
        yield(id)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rroonga-4.0.8-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/table_cursor.rb
rroonga-4.0.8-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/table_cursor.rb