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



206
207
208
# File 'lib/mongo_mapper/support.rb', line 206

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