Question
Can we create a hidden file using ruby?
Solution
File.open('/path/to/.hiddenfile', 'w') {|f| f.write(doc) }
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
Question
Can we create a hidden file using ruby?
Solution
File.open('/path/to/.hiddenfile', 'w') {|f| f.write(doc) }