Module: ActiveSupport::Deprecation::InstanceDelegator::OverrideDelegators
- Defined in:
- lib/active_support/deprecation/instance_delegator.rb
Overview
:nodoc:
Instance Method Summary collapse
- #deprecation_warning(deprecated_method_name, message = nil, caller_backtrace = nil) ⇒ Object
- #warn(message = nil, callstack = nil) ⇒ Object
Instance Method Details
#deprecation_warning(deprecated_method_name, message = nil, caller_backtrace = nil) ⇒ Object
32 33 34 35 |
# File 'lib/active_support/deprecation/instance_delegator.rb', line 32 def deprecation_warning(deprecated_method_name, = nil, caller_backtrace = nil) caller_backtrace ||= caller_locations(2) super end |
#warn(message = nil, callstack = nil) ⇒ Object
27 28 29 30 |
# File 'lib/active_support/deprecation/instance_delegator.rb', line 27 def warn( = nil, callstack = nil) callstack ||= caller_locations(2) super end |