Sha256: 26b6f9c88efd17c69fbc84cfa733e65460f94e5eb1eeb7434c4965fd5c40c64c
Contents?: true
Size: 408 Bytes
Versions: 24
Compression:
Stored size: 408 Bytes
Contents
# encoding: utf-8 module Mongoid module Extensions module NilClass # Get the name of a nil collection. # # @example Get the nil name. # nil.collectionize # # @return [ String ] A blank string. # # @since 1.0.0 def collectionize to_s.collectionize end end end end ::NilClass.__send__(:include, Mongoid::Extensions::NilClass)
Version data entries
24 entries across 24 versions & 2 rubygems