Module: MongoDoc::PolymorphicCollection

Defined in:
lib/mongo_doc/polymorphic_collection.rb

Instance Method Summary collapse

Instance Method Details

#collection_name(name = nil) ⇒ Object



4
5
6
# File 'lib/mongo_doc/polymorphic_collection.rb', line 4

def collection_name(name = nil)
  @_collection_name ||= determine_collection_name(name && name.to_s)
end