Sha256: 0e87bc41d9a2485032c04684e04dfe8a76dd78d3288f644c48605653bfaed1da

Contents?: true

Size: 287 Bytes

Versions: 25

Compression:

Stored size: 287 Bytes

Contents

module Moped
  module BSON
    class Document < Hash
      class << self

        def deserialize(io, document = new)
          __bson_load__(io, document)
        end

        def serialize(document, io = "")
          document.__bson_dump__(io)
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/moped-1.3.2/lib/moped/bson/document.rb
moped-1.3.2 lib/moped/bson/document.rb
moped-1.3.1 lib/moped/bson/document.rb
moped-1.3.0 lib/moped/bson/document.rb
moped-1.2.9 lib/moped/bson/document.rb
moped-1.2.8 lib/moped/bson/document.rb
moped-1.2.7 lib/moped/bson/document.rb
moped-1.2.6 lib/moped/bson/document.rb
moped-1.2.5 lib/moped/bson/document.rb
moped-1.2.4 lib/moped/bson/document.rb
moped-1.2.2 lib/moped/bson/document.rb
moped-1.2.1 lib/moped/bson/document.rb
moped-1.2.0 lib/moped/bson/document.rb
moped-1.1.6 lib/moped/bson/document.rb
moped-1.1.5 lib/moped/bson/document.rb
moped-1.1.4 lib/moped/bson/document.rb
moped-1.1.3 lib/moped/bson/document.rb
moped-1.1.2 lib/moped/bson/document.rb
moped-1.0.1 lib/moped/bson/document.rb
moped-1.1.1 lib/moped/bson/document.rb