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
def flights_by_airline(airline_id, flight_number=nil, date=nil, params={})
      if flight_number && date
        t = convert_date(date)
...

Ruby Better way to offer several...

by jarodluebbert.myopenid.com, March 01, 2010 08:21, 3 refactorings, tagged with ruby, api, parameters

I'm wrapping an API in ruby...

3a5f66f6c3feb6092d375c3e145de0d4 Talk