Module: Moped::BSON::Extensions::Boolean::ClassMethods
- Included in:
- FalseClass, TrueClass
- Defined in:
- lib/moped/bson/extensions/boolean.rb
Instance Method Summary collapse
Instance Method Details
#__bson_load__(io) ⇒ Object
7 8 9 |
# File 'lib/moped/bson/extensions/boolean.rb', line 7 def __bson_load__(io) io.readbyte == 1 end |