IO.popen(cmd) { io.read }
end
raise ArgumentError unless file.is_a?(String)
if file[0] ==
IO.popen(file[1..-1], *rest, &block)
else
File.open(file, *rest, &block)
end
end
$stdout.print(*args)
end
$stdout.puts(*args)
end
$stdout.printf(*args)
end
$stdin.gets(*args)
end
end