Class: String

Inherits:
Object show all
Defined in:
lib/jmongo/mongo/ruby_ext.rb

Instance Method Summary collapse

Instance Method Details

#to_bson_codeObject



3
4
5
# File 'lib/jmongo/mongo/ruby_ext.rb', line 3

def to_bson_code
  BSON::Code.new(self)
end