gitlab-org--gitlab-foss/file_hooks/examples/save_to_file.rb

4 lines
69 B
Ruby
Raw Normal View History

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