Module: ActiveSupport::Deprecation::InstanceDelegator::OverrideDelegators

Defined in:
activesupport/lib/active_support/deprecation/instance_delegator.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#deprecation_warning(deprecated_method_name, message = nil, caller_backtrace = nil) ⇒ Object



53
54
55
56
# File 'activesupport/lib/active_support/deprecation/instance_delegator.rb', line 53

def deprecation_warning(deprecated_method_name, message = nil, caller_backtrace = nil)
  caller_backtrace ||= caller_locations(2)
  super
end

#warn(message = nil, callstack = nil) ⇒ Object



48
49
50
51
# File 'activesupport/lib/active_support/deprecation/instance_delegator.rb', line 48

def warn(message = nil, callstack = nil)
  callstack ||= caller_locations(2)
  super
end