Class: Moped::BSON::ObjectId
- Inherits:
-
Object
- Object
- Moped::BSON::ObjectId
- Defined in:
- lib/promiscuous/mongoid.rb
Instance Method Summary collapse
-
#to_json(*args) ⇒ Object
No “123”, it’s horrible.
Instance Method Details
#to_json(*args) ⇒ Object
No “123”, it’s horrible. TODO Document this shit.
4 5 6 |
# File 'lib/promiscuous/mongoid.rb', line 4 def to_json(*args) "\"#{to_s}\"" end |