Permalink
Browse files

Cleanup comment. References #9702, closes #9703.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 5430eb6 commit ae165361c361c971b459966d5be282ed97b1d280 @jeremy jeremy committed Sep 27, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/buffered_logger.rb
@@ -52,7 +52,7 @@ def initialize(log, level = DEBUG)
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

0 comments on commit ae16536

Please sign in to comment.