debian-mirror-gitlab/file_hooks/examples/save_to_file.rb
2021-09-04 01:27:46 +05:30

3 lines
70 B
Ruby
Executable file

#!/usr/bin/env ruby
x = $stdin.read
File.write('/tmp/rb-data.txt', x)