How To Pipe To A Ruby Command Line Application
You need to read from STDIN rather than parse command line arguments.
while $stdin.gets
puts $_
end
You need to read from STDIN rather than parse command line arguments.
while $stdin.gets
puts $_
end
Comments