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

multiple arguments to write

Make write methods of IO-like objects accept multiple arguments,
as well as IO#write.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-10-23 14:05:07 +00:00
parent 8bbdbf9e75
commit 30d23ec903
7 changed files with 10 additions and 9 deletions

View file

@ -9,7 +9,7 @@ class TestOptionParser < Test::Unit::TestCase
end
class DummyOutput < String
alias write <<
alias write concat
end
def assert_no_error(*args)
$stderr, stderr = DummyOutput.new, $stderr