diff options
Diffstat (limited to 'file_hooks')
-rwxr-xr-x | file_hooks/examples/save_to_file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/file_hooks/examples/save_to_file.rb b/file_hooks/examples/save_to_file.rb index 61b0df9bfd6..88e5986337b 100755 --- a/file_hooks/examples/save_to_file.rb +++ b/file_hooks/examples/save_to_file.rb @@ -1,3 +1,3 @@ #!/usr/bin/env ruby -x = STDIN.read +x = $stdin.read File.write('/tmp/rb-data.txt', x) |