Class for processing cmdline options in ruby