From f76dd271c6c6a3ae613a37c5a3b8b13b945b5d66 Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Wed, 27 Apr 2011 00:30:31 +0530 Subject: minor changes --- activesupport/lib/active_support/deprecation/reporting.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'activesupport/lib/active_support/deprecation/reporting.rb') diff --git a/activesupport/lib/active_support/deprecation/reporting.rb b/activesupport/lib/active_support/deprecation/reporting.rb index ced08b8783..5d7e241d1a 100644 --- a/activesupport/lib/active_support/deprecation/reporting.rb +++ b/activesupport/lib/active_support/deprecation/reporting.rb @@ -5,10 +5,8 @@ module ActiveSupport # Outputs a deprecation warning to the output configured by ActiveSupport::Deprecation.behavior # - # Example: - # # ActiveSupport::Deprecation.warn("something broke!") - # #=> "DEPRECATION WARNING: something broke! (called from your_code.rb:1)" + # # => "DEPRECATION WARNING: something broke! (called from your_code.rb:1)" def warn(message = nil, callstack = caller) return if silenced deprecation_message(callstack, message).tap do |m| -- cgit v1.2.3