Module: MongoODM::Document::Inspect::ClassMethods

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

Instance Method Summary collapse

Instance Method Details

#inspectObject



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

def inspect
  "#{name}(#{fields.map{|k, v| "#{k}: #{v.type}"}.join(", ")})"
end