method

warn

Importance_1
v3.2.1 - Show latest stable - 0 notes - Class: ActiveSupport::Deprecation
warn(message = nil, callstack = caller) 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)"
Show source
Register or log in to add new notes.