I wanted to understand how I can get the error of GetoptLong::Ambigous
option. Actually I am having that error but I do not understand why?

I do:

require ‘getoptlong’
optconfig = [
[ ‘–help’, GetoptLong::NO_ARGUMENT ],
[ ‘–usage’, GetoptLong::NO_ARGUMENT ],

    opts =*optconfig)

and many other options and each one is different. So that is why I would
like how it works.


David R.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs