aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/logger.rb
diff options
context:
space:
mode:
authorAlexey Gaziev <alex.gaziev@gmail.com>2012-04-26 17:20:36 +0400
committerAlexey Gaziev <alex.gaziev@gmail.com>2012-04-29 03:09:44 +0400
commit1946d7b9229fabb52226f9ff82de72872c748d90 (patch)
tree9d45b28547accec3c53d177fd0a6b727afb1be18 /activesupport/lib/active_support/core_ext/logger.rb
parent242f4d1ebadd0cff83c10270aecd56752b9befc5 (diff)
downloadrails-1946d7b9229fabb52226f9ff82de72872c748d90.tar.gz
rails-1946d7b9229fabb52226f9ff82de72872c748d90.tar.bz2
rails-1946d7b9229fabb52226f9ff82de72872c748d90.zip
AS core_ext refactoring
Diffstat (limited to 'activesupport/lib/active_support/core_ext/logger.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/logger.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/logger.rb b/activesupport/lib/active_support/core_ext/logger.rb
index a51818d2b2..16fce81445 100644
--- a/activesupport/lib/active_support/core_ext/logger.rb
+++ b/activesupport/lib/active_support/core_ext/logger.rb
@@ -56,8 +56,8 @@ class Logger
alias :old_datetime_format= :datetime_format=
# Logging date-time format (string passed to +strftime+). Ignored if the formatter
# does not respond to datetime_format=.
- def datetime_format=(datetime_format)
- formatter.datetime_format = datetime_format if formatter.respond_to?(:datetime_format=)
+ def datetime_format=(format)
+ formatter.datetime_format = format if formatter.respond_to?(:datetime_format=)
end
alias :old_datetime_format :datetime_format