1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/logger
nahi 77cb3aeba1 * lib/logger.rb(Logger#msg2str): no special treatment for the object
which responds to :to_str.

        * lib/logger.rb(LogDevice#initialize): remove type checking if the
          given object is a String.  Kernel.open handles it correctly.

        * test/logger/test_logger.rb: follow above change (ArgumentError ->
          TypeError.)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-06 11:55:08 +00:00
..
test_logger.rb * lib/logger.rb(Logger#msg2str): no special treatment for the object 2004-01-06 11:55:08 +00:00