Ruby core documentation quality
- by karatedog
I'm relatively new to Ruby and have limited time therefore I try out simple things.
Recently I needed to create a file and because I'm lazy as hell, I run to Google. The result:
File.open(local_filename, 'w') {|f| f.write(doc) }
Shame on me, it is very straightforward, should have done it myself. Then I wanted to check what ruby magic the File…