Module: Mongoid::Deprecable Private
    Do not use.  This module is for internal use only.
  
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
| 
       Extended In: 
      
     | |
| Defined in: | lib/mongoid/deprecable.rb | 
Overview
Adds ability to declare Mongoid-specific deprecations.
Instance Method Summary
- 
    
      #deprecate(target_module, *method_descriptors)  
    
    Internal use only
    
Declares method(s) as deprecated.
 
Instance Method Details
#deprecate(target_module, *method_descriptors)
Declares method(s) as deprecated.
# File 'lib/mongoid/deprecable.rb', line 30
def deprecate(target_module, *method_descriptors) @_deprecator ||= Mongoid::Deprecation.new @_deprecator.deprecate_methods(target_module, *method_descriptors) end