mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 13:34:17 +02: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
|
@ -160,7 +160,7 @@ module EnvUtil
|
|||
|
||||
def verbose_warning
|
||||
class << (stderr = "".dup)
|
||||
alias write <<
|
||||
alias write concat
|
||||
end
|
||||
stderr, $stderr, verbose, $VERBOSE = $stderr, stderr, $VERBOSE, true
|
||||
yield stderr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue