Module: MongoODM::Document::AttributeMethods::Inspect::InstanceMethods

Defined in:
lib/mongo_odm/document/attribute_methods/inspect.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) inspect_attribute(attr_name)



11
12
13
# File 'lib/mongo_odm/document/attribute_methods/inspect.rb', line 11

def inspect_attribute(attr_name)
  "#{attr_name}: #{read_attribute(attr_name).inspect}"
end