Module: Moped::BSON::Extensions::TrueClass
- Included in:
- TrueClass
- Defined in:
- lib/moped/bson/extensions/true_class.rb
Instance Method Summary collapse
Instance Method Details
#__bson_dump__(io, key) ⇒ Object
6 7 8 9 10 |
# File 'lib/moped/bson/extensions/true_class.rb', line 6 def __bson_dump__(io, key) io << Types::BOOLEAN io << key.to_bson_cstring io << Types::TRUE end |
#__safe_options__ ⇒ Object
12 13 14 |
# File 'lib/moped/bson/extensions/true_class.rb', line 12 def { safe: true } end |