[Bug #20510] Do not count optional hash argument for IO.new
IO.new
Since IO.new accepts one or two positional arguments except for the optional hash argument, exclude the optional hash argument from the check for delegation to IO.new.
[Bug #20510] Do not count optional hash argument for
IO.new
Since
IO.new
accepts one or two positional arguments except for theoptional hash argument, exclude the optional hash argument from the
check for delegation to
IO.new
.