hydra/test/fixtures/echo_the_dolphin.rb

8 lines
120 B
Ruby
Raw Normal View History

2010-01-26 20:31:03 +00:00
#!/usr/bin/env ruby
2010-01-27 20:42:53 +00:00
# Echoes back to the sender
2010-01-26 20:31:03 +00:00
$stdout.sync = true
while line = $stdin.gets
$stdout.write(line)
end