Written by Sean Behan on Thu Oct 17th 2013

You need to read from STDIN rather than parse command line arguments.

while $stdin.gets
    puts $_
end

Tagged with..
#Ruby #Command Line #Scripting

Just finishing up brewing up some fresh ground comments...