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

Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/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



31
32
33
34
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/deprecation/instance_delegator.rb', line 31

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

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



26
27
28
29
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/deprecation/instance_delegator.rb', line 26

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