Browse files

These changes fix the README example

  • Loading branch information...
1 parent 9abfc1c commit cbac1f81919032d266afea60101b38aa4aaa616a @nayden nayden committed Jan 29, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.rdoc
View
4 README.rdoc
@@ -47,12 +47,12 @@ In a nutshell:
# "on_data" is called when the process writes something to stdout
ch.on_data do |c, data|
- $STDOUT.print data
+ $stdout.print data
end
# "on_extended_data" is called when the process writes something to stderr
ch.on_extended_data do |c, type, data|
- $STDERR.print data
+ $stderr.print data
end
ch.on_close { puts "done!" }

0 comments on commit cbac1f8

Please sign in to comment.