Robert Klemme wrote in post #1067315:
> You can push "-" onto ARGV which will make ARGF switch to STDIN - this
> even works when you have read from ARGF already:
>
> Kind regards
>
> robert

That's exactly what I want, thanks a lot! :)

-- 
Posted via http://www.ruby-forum.com/.