1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Revert "macruby: no format_datetime or msg2str"

Obviated by fix in macruby trunk.

This reverts commit 6d91e7dca1.
This commit is contained in:
Jeremy Kemper 2009-11-24 17:15:35 -08:00
parent 530b8ff5ae
commit 71a6b0465b

View file

@ -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