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:
parent
530b8ff5ae
commit
71a6b0465b
1 changed files with 2 additions and 2 deletions
|
@ -137,10 +137,10 @@ class Logger
|
||||||
attr_writer :formatter
|
attr_writer :formatter
|
||||||
public :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
|
def format_datetime(datetime) datetime end
|
||||||
|
|
||||||
alias old_msg2str msg2str if method_defined?(:msg2str)
|
alias old_msg2str msg2str
|
||||||
def msg2str(msg) msg end
|
def msg2str(msg) msg end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue