diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-21 19:11:50 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-21 19:11:50 -0800 |
commit | 6d91e7dca163ef55dde319452b21b767e8a0df33 (patch) | |
tree | 3ad8d5b62a3946dde1050dcdb0c87944c02f3065 | |
parent | e1935e3c0c35f8f1196239e2b1213c4436049fa5 (diff) | |
download | rails-6d91e7dca163ef55dde319452b21b767e8a0df33.tar.gz rails-6d91e7dca163ef55dde319452b21b767e8a0df33.tar.bz2 rails-6d91e7dca163ef55dde319452b21b767e8a0df33.zip |
macruby: no format_datetime or msg2str
-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 22749229a3..e4df8fe338 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 + alias old_format_datetime format_datetime if method_defined?(:format_datetime) def format_datetime(datetime) datetime end - alias old_msg2str msg2str + alias old_msg2str msg2str if method_defined?(:msg2str) def msg2str(msg) msg end end end |