mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
|
||
|---|---|---|
| .. | ||
| test_logger.rb | ||