diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-09-04 05:55:55 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-09-04 05:55:55 +0000 |
commit | 7269b086e1c3c6d43c97458efcc7c5c54a322b33 (patch) | |
tree | a74c94ebbb6cca11759b8e4da58da85b7a3df495 /activesupport/lib | |
parent | da8d7a7011b1d6e1bd9a5c757aa4514d4612c100 (diff) | |
download | rails-7269b086e1c3c6d43c97458efcc7c5c54a322b33.tar.gz rails-7269b086e1c3c6d43c97458efcc7c5c54a322b33.tar.bz2 rails-7269b086e1c3c6d43c97458efcc7c5c54a322b33.zip |
silenced writer
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/deprecation.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/deprecation.rb b/activesupport/lib/active_support/deprecation.rb index f6dc863e41..845fb4d62b 100644 --- a/activesupport/lib/active_support/deprecation.rb +++ b/activesupport/lib/active_support/deprecation.rb @@ -46,6 +46,9 @@ module ActiveSupport @silenced = old_silenced end + attr_writer :silenced + + private def deprecation_message(callstack, message = nil) file, line, method = extract_callstack(callstack) |