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:
parent
8bbdbf9e75
commit
30d23ec903
7 changed files with 10 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue