Sha256: e2293f37f8c592f075b005b56b507c7f165dcca3b16da9b8b6ee538fce86653c

Contents?: true

Size: 323 Bytes

Versions: 44

Compression:

Stored size: 323 Bytes

Contents

module Groonga
  class Writer
    def array(name, n_elements)
      open_array(name, n_elements)
      begin
        yield
      ensure
        close_array
      end
    end

    def map(name, n_elements)
      open_map(name, n_elements)
      begin
        yield
      ensure
        close_map
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
rroonga-9.0.7-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-9.0.7-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-9.0.3-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-9.0.3-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-9.0.2-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-9.0.2-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-7.1.1-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-7.1.1-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-7.0.2-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-7.0.2-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-6.1.3-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-6.1.3-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-6.1.0-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-6.1.0-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-6.0.9-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-6.0.9-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-6.0.7-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-6.0.7-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-6.0.5-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb
rroonga-6.0.5-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/writer.rb