Skip to content

Commit

Permalink
macruby: no format_datetime or msg2str
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Nov 22, 2009
1 parent e1935e3 commit 6d91e7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activesupport/lib/active_support/core_ext/logger.rb
Expand Up @@ -137,10 +137,10 @@ def format_message(severity, timestamp, msg, progname)
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

0 comments on commit 6d91e7d

Please sign in to comment.