Module: Mongoid::Extensions::NilClass
- Defined in:
- lib/mongoid/extensions/nil_class.rb
Instance Method Summary collapse
-
#collectionize ⇒ String
Get the name of a nil collection.
Instance Method Details
#collectionize ⇒ String
Get the name of a nil collection.
14 15 16 |
# File 'lib/mongoid/extensions/nil_class.rb', line 14 def collectionize to_s.collectionize end |