diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-23 14:05:07 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-23 14:05:07 +0000 |
commit | 50ac6d6f32fd47f52c0b307a665c37da13643a02 (patch) | |
tree | 67ba57fca1504e79f0f56765985a589a0c28d1b5 /test/optparse/test_kwargs.rb | |
parent | 239ab5f9d2ea06138acb3e4eaec961e36f1f2c38 (diff) | |
download | ruby-50ac6d6f32fd47f52c0b307a665c37da13643a02.tar.gz |
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
Diffstat (limited to 'test/optparse/test_kwargs.rb')
-rw-r--r-- | test/optparse/test_kwargs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/optparse/test_kwargs.rb b/test/optparse/test_kwargs.rb index 68fe207a2c..78d7e2ee9c 100644 --- a/test/optparse/test_kwargs.rb +++ b/test/optparse/test_kwargs.rb @@ -14,7 +14,7 @@ class TestOptionParser::KwArg < Test::Unit::TestCase end class DummyOutput < String - alias write << + alias write concat end def assert_no_error(*args) $stderr, stderr = DummyOutput.new, $stderr |