Revise IO#write and so on by pocke · Pull Request #317 · ruby/rbs

IO#write receives outputs as rest arguments. IO#write and so on accepts any object that has to_s method. For example class ToS def to_s 'foo' end end $stdout.write(ToS.new, 'b...