module R2OAS::Deprecation::InstanceDelegator::OverrideDelegators

Public Instance Methods

warn(message = nil, callstack = nil) click to toggle source
Calls superclass method
# File lib/r2-oas/support/deprecation/instance_delegator.rb, line 31
def warn(message = nil, callstack = nil)
  # MEMO:
  # Why update callstack
  # https://github.com/rails/rails/pull/26686
  callstack ||= caller_locations(2)
  super
end
Also aliased as: will_remove
will_remove(message = nil, callstack = nil)
Alias for: warn