Class: String

Inherits:
Object show all
Defined in:
lib/mongo/util/core_ext.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#to_bson_codeObject

:nodoc:



56
57
58
# File 'lib/mongo/util/core_ext.rb', line 56

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