This post originated from an RSS feed registered with Ruby Buzz
by Daniel Berger.
Original Post: Just give me a Hash, dammit!
Feed Title: Testing 1,2,3...
Feed URL: http://djberg96.livejournal.com/data/rss
Feed Description: A blog on Ruby and other stuff.
OptionParser's methods are partioned to 2 kinds. Methods to register the options, and methods to parse the command line.
Ugh. I tried to use optparse (and getoptlong) several times before I just threw my hands up in the air and wrote my own *simple* command line parser that returns what most people want - a frickin hash.