Sha256: 3e1affe1966b2d8258dde10e28e0693663a581de614254c03e85b85380744bcf

Contents?: true

Size: 301 Bytes

Versions: 10

Compression:

Stored size: 301 Bytes

Contents

module Moped
  module BSON
    module Extensions

      module FalseClass

        def __bson_dump__(io, key)
          io << Types::BOOLEAN
          io << key.to_bson_cstring
          io << NULL_BYTE
        end

        def __safe_options__
          false
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
moped-1.5.3 lib/moped/bson/extensions/false_class.rb
moped-1.5.2 lib/moped/bson/extensions/false_class.rb
moped-1.5.1 lib/moped/bson/extensions/false_class.rb
moped-1.5.0 lib/moped/bson/extensions/false_class.rb
moped-1.4.5 lib/moped/bson/extensions/false_class.rb
moped-1.4.4 lib/moped/bson/extensions/false_class.rb
moped-1.4.3 lib/moped/bson/extensions/false_class.rb
moped-1.4.2 lib/moped/bson/extensions/false_class.rb
moped-1.4.1 lib/moped/bson/extensions/false_class.rb
moped-1.4.0 lib/moped/bson/extensions/false_class.rb