aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-11-24 17:15:35 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-11-24 17:15:35 -0800
commit71a6b0465be2ebbc9268423bafb1e764ce044b9d (patch)
tree5c8eefbcc7ca5be057d65992b11dd567b6a5850b /activesupport
parent530b8ff5ae811e0dd5e1343b478f42eed6fffdbd (diff)
downloadrails-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')
-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 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