method

guess

guess(arg)
public

Guesses argument style from arg. Returns corresponding OptionParser::Switch class (OptionalArgument, etc.).