Flowdock
method

silence

Importance_1
v4.0.2 - Show latest stable - 0 notes - Class: Reporting
silence() public

Silence deprecation warnings within the block.

ActiveSupport::Deprecation.warn('something broke!')
# => "DEPRECATION WARNING: something broke! (called from your_code.rb:1)"

ActiveSupport::Deprecation.silence do
  ActiveSupport::Deprecation.warn('something broke!')
end
# => nil
Show source
Register or log in to add new notes.