Sha256: dcc8dc232496a3e99a426160f11ebdaf061e7e7d3e80668d7b0a1858d8990ff8

Contents?: true

Size: 227 Bytes

Versions: 3

Compression:

Stored size: 227 Bytes

Contents

module Moped
  module BSON
    # @private
    module Extensions
      module Boolean
        module ClassMethods
          def __bson_load__(io)
            io.getbyte == 1
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
moped-1.0.0.rc lib/moped/bson/extensions/boolean.rb
moped-1.0.0.beta lib/moped/bson/extensions/boolean.rb
moped-1.0.0.alpha lib/moped/bson/extensions/boolean.rb