aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/buffered_logger.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-09-27 06:16:20 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-09-27 06:16:20 +0000
commitae165361c361c971b459966d5be282ed97b1d280 (patch)
tree8da12873cef4793449288d3bd8bc2f5d60737044 /activesupport/lib/active_support/buffered_logger.rb
parent5430eb6dcdeec7d43d7099c7b1c8fd3652647594 (diff)
downloadrails-ae165361c361c971b459966d5be282ed97b1d280.tar.gz
rails-ae165361c361c971b459966d5be282ed97b1d280.tar.bz2
rails-ae165361c361c971b459966d5be282ed97b1d280.zip
Cleanup comment. References #9702, closes #9703.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/buffered_logger.rb')
-rw-r--r--activesupport/lib/active_support/buffered_logger.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/buffered_logger.rb b/activesupport/lib/active_support/buffered_logger.rb
index 6025e1a6d0..a3715e2e84 100644
--- a/activesupport/lib/active_support/buffered_logger.rb
+++ b/activesupport/lib/active_support/buffered_logger.rb
@@ -52,7 +52,7 @@ module ActiveSupport
def add(severity, message = nil, progname = nil, &block)
return if @level > severity
message = message || (block && block.call) || progname
- # If a newline is nessesary then create a new message end with a new line.
+ # If a newline is necessary then create a new message ending with a newline.
# Ensures that the original message is not mutated.
message = "#{message}\n" unless message[-1] == ?\n
@buffer << message