parameter, file, text = ARGV if parameter == '-w' #=> write mode ...
Ruby Clumsy file I/O program
by thaostra.myopenid.com,
June 21, 2010 00:06,
1 refactoring, tagged with exceptions, arguments, parameters, I/O
begin
data["body"] = content[1].split(/\W{2,}/)[0].strip()
rescue Exception => e
...
Ruby Exception Handling in Ruby
I have the following code w...
This is my first attempt of...