method
warn
v5.0.0.1 -
Show latest stable
- Class:
ActiveSupport::Deprecation::Reporting
warn(message = nil, callstack = nil)public
Outputs a deprecation warning to the output configured by ActiveSupport::Deprecation.behavior.
ActiveSupport::Deprecation.warn('something broke!') # => "DEPRECATION WARNING: something broke! (called from your_code.rb:1)"