Class: Moped::BSON::MaxKey
Class Method Summary collapse
Class Method Details
.===(other) ⇒ Object
5 6 7 |
# File 'lib/moped/bson/max_key.rb', line 5 def ===(other) other == self end |
.__bson_dump__(io, key) ⇒ Object
13 14 15 16 |
# File 'lib/moped/bson/max_key.rb', line 13 def __bson_dump__(io, key) io << Types::MAX_KEY io << key.to_bson_cstring end |
.__bson_load__(io) ⇒ Object
9 10 11 |
# File 'lib/moped/bson/max_key.rb', line 9 def __bson_load__(io) self end |