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

This is my first attempt of...

55502f40dc8b7c769880b10874abc9d0 Talk
require 'date'

#Get data from user for memo
...

Ruby Simple Ruby Program for cre...

by thehodapp.myopenid.com, June 01, 2010 04:08, 3 refactorings, tagged with ruby, I/O, String Manipulation

This is the first program I...

A080437f9a305a2f2a8ce517b304ad00 Talk