Method: MongoModel::PrettyInspect#inspect
- Defined in:
- lib/mongomodel/concerns/pretty_inspect.rb
#inspect ⇒ Object
Returns the contents of the document as a nicely formatted string.
18 19 20 |
# File 'lib/mongomodel/concerns/pretty_inspect.rb', line 18 def inspect "#<#{self.class.name} #{attributes_for_inspect}>" end |