Files
gitlab-foss/file_hooks/examples/save_to_file.rb
2021-06-08 15:10:00 +00:00

4 lines
70 B
Ruby
Executable File

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