summaryrefslogtreecommitdiff
path: root/plugins/examples/save_to_file.rb
blob: 61b0df9bfd6e33c62c54d9eba2080672463a215e (plain)
1
2
3
#!/usr/bin/env ruby
x = STDIN.read
File.write('/tmp/rb-data.txt', x)