aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorMike Gunderloy <MikeG1@larkfarm.com>2008-11-18 11:03:31 -0600
committerMike Gunderloy <MikeG1@larkfarm.com>2008-11-18 11:03:31 -0600
commitb930d2f259f7ebf3c7134db82dde02c55e00070c (patch)
tree86dfb059f2745efb04639cde85eb86d95cd60906 /activesupport/lib
parent24bc0b267d1c313d78424eeffda6d8eaa5be0c24 (diff)
downloadrails-b930d2f259f7ebf3c7134db82dde02c55e00070c.tar.gz
rails-b930d2f259f7ebf3c7134db82dde02c55e00070c.tar.bz2
rails-b930d2f259f7ebf3c7134db82dde02c55e00070c.zip
Finishing up RDoc 2.x markup for cattr_accessors
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/buffered_logger.rb2
-rw-r--r--activesupport/lib/active_support/core_ext/logger.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/buffered_logger.rb b/activesupport/lib/active_support/buffered_logger.rb
index 77e0b1d33f..b2c863c893 100644
--- a/activesupport/lib/active_support/buffered_logger.rb
+++ b/activesupport/lib/active_support/buffered_logger.rb
@@ -13,6 +13,8 @@ module ActiveSupport
MAX_BUFFER_SIZE = 1000
+ ##
+ # :singleton-method:
# Set to false to disable the silencer
cattr_accessor :silencer
self.silencer = true
diff --git a/activesupport/lib/active_support/core_ext/logger.rb b/activesupport/lib/active_support/core_ext/logger.rb
index c622554860..24fe7294c9 100644
--- a/activesupport/lib/active_support/core_ext/logger.rb
+++ b/activesupport/lib/active_support/core_ext/logger.rb
@@ -30,6 +30,8 @@ require 'logger'
#
# Note: This logger is deprecated in favor of ActiveSupport::BufferedLogger
class Logger
+ ##
+ # :singleton-method:
# Set to false to disable the silencer
cattr_accessor :silencer
self.silencer = true