Class: Moped::BSON::MinKey

Inherits:
Object show all
Defined in:
lib/moped/bson/min_key.rb

Class Method Summary collapse

Class Method Details

.===(other) ⇒ Object



5
6
7
# File 'lib/moped/bson/min_key.rb', line 5

def ===(other)
  other == self
end

.__bson_dump__(io, key) ⇒ Object



13
14
15
16
# File 'lib/moped/bson/min_key.rb', line 13

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

.__bson_load__(io) ⇒ Object



9
10
11
# File 'lib/moped/bson/min_key.rb', line 9

def __bson_load__(io)
  self
end