debian-mirror-gitlab/file_hooks/examples/save_to_file.rb

4 lines
69 B
Ruby
Raw Normal View History

2018-03-27 19:54:05 +05:30
#!/usr/bin/env ruby
x = STDIN.read
File.write('/tmp/rb-data.txt', x)