Ruby Standard Library - getopt_long