to_io()
public
Returns an IO object representing the
current file. This will be a File object unless the current file is a stream such as STDIN.
For example:
ARGF.to_io
ARGF.to_io
static VALUE
argf_to_io(VALUE argf)
{
next_argv();
ARGF_FORWARD(0, 0);
return ARGF.current_file;
}