Methods

Class/Module Index [+]

Quicksearch

Mongoid::Extensions::Nil::Collectionization

This module safeguards collection access on anonymous classes.

Public Instance Methods

collectionize() click to toggle source

Get the name of a nil collection.

@example Get the nil name.

nil.collectionize

@return [ String ] A blank string.

@since 1.0.0

# File lib/mongoid/extensions/nil/collectionization.rb, line 16
def collectionize
  to_s.collectionize
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.