aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/buffered_logger.rb
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-12-28 16:00:12 +0000
committerPratik Naik <pratiknaik@gmail.com>2008-12-28 16:01:38 +0000
commitaaea12c497ca86a86fbda8409c226630ade22f89 (patch)
tree774246204e597a4a623d63dc489ce17de0b5353b /activesupport/lib/active_support/buffered_logger.rb
parent297276b99c2d14bcce2fd19f9ab3de75ea3dbc68 (diff)
downloadrails-aaea12c497ca86a86fbda8409c226630ade22f89.tar.gz
rails-aaea12c497ca86a86fbda8409c226630ade22f89.tar.bz2
rails-aaea12c497ca86a86fbda8409c226630ade22f89.zip
Revert inline docs
Diffstat (limited to 'activesupport/lib/active_support/buffered_logger.rb')
-rw-r--r--activesupport/lib/active_support/buffered_logger.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/activesupport/lib/active_support/buffered_logger.rb b/activesupport/lib/active_support/buffered_logger.rb
index 5794ee6010..445d8edf47 100644
--- a/activesupport/lib/active_support/buffered_logger.rb
+++ b/activesupport/lib/active_support/buffered_logger.rb
@@ -68,13 +68,13 @@ module ActiveSupport
for severity in Severity.constants
class_eval <<-EOT, __FILE__, __LINE__
- def #{severity.downcase}(message = nil, progname = nil, &block) # def debug(message = nil, progname = nil, &block)
- add(#{severity}, message, progname, &block) # add(DEBUG, message, progname, &block)
- end # end
- #
- def #{severity.downcase}? # def debug?
- #{severity} >= @level # DEBUG >= @level
- end # end
+ def #{severity.downcase}(message = nil, progname = nil, &block)
+ add(#{severity}, message, progname, &block)
+ end
+
+ def #{severity.downcase}?
+ #{severity} >= @level
+ end
EOT
end