diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-24 17:15:35 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-24 17:15:35 -0800 |
commit | 71a6b0465be2ebbc9268423bafb1e764ce044b9d (patch) | |
tree | 5c8eefbcc7ca5be057d65992b11dd567b6a5850b /activesupport/lib/active_support/core_ext/logger.rb | |
parent | 530b8ff5ae811e0dd5e1343b478f42eed6fffdbd (diff) | |
download | rails-71a6b0465be2ebbc9268423bafb1e764ce044b9d.tar.gz rails-71a6b0465be2ebbc9268423bafb1e764ce044b9d.tar.bz2 rails-71a6b0465be2ebbc9268423bafb1e764ce044b9d.zip |
Revert "macruby: no format_datetime or msg2str"
Obviated by fix in macruby trunk.
This reverts commit 6d91e7dca163ef55dde319452b21b767e8a0df33.
Diffstat (limited to 'activesupport/lib/active_support/core_ext/logger.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/logger.rb | 4 |
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 e4df8fe338..22749229a3 100644 --- a/activesupport/lib/active_support/core_ext/logger.rb +++ b/activesupport/lib/active_support/core_ext/logger.rb @@ -137,10 +137,10 @@ class Logger attr_writer :formatter public :formatter= - alias old_format_datetime format_datetime if method_defined?(:format_datetime) + alias old_format_datetime format_datetime def format_datetime(datetime) datetime end - alias old_msg2str msg2str if method_defined?(:msg2str) + alias old_msg2str msg2str def msg2str(msg) msg end end end |