Class: Mongo::ObjectID

Inherits:
Object show all
Defined in:
lib/mongo_mapper/support.rb

Overview

TODO: Remove when patch accepted into driver

Instance Method Summary collapse

Instance Method Details

#to_json(options = nil) ⇒ Object



186
187
188
# File 'lib/mongo_mapper/support.rb', line 186

def to_json(options = nil)
  %Q("#{to_s}")
end