Question

Can we create a hidden file using ruby?

Was it helpful?

Solution

File.open('/path/to/.hiddenfile', 'w') {|f| f.write(doc) }
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top