GetoptLong for Ruby
Ruby standard library getoptlong.
gopt is a simple wrapper of getoptlong of an object-oriented scripting language Ruby.
OptionParser is a class for command-line option analysis. It is much more advanced, yet also easier to use, than GetoptLong, and is a more Ruby-oriented solution.