Class CmdParse::ParserWrapper
In: lib/cmdparse.rb
Parent: Object

Base class for all parser wrappers.

Methods

instance   order   permute   summarize  

Public Instance methods

Returns the parser instance for the object and, if a block is a given, yields the instance.

Parses the arguments in order, i.e. stops at the first non-option argument, and returns all remaining arguments.

Permutes the arguments so that all options anywhere on the command line are parsed and the remaining non-options are returned.

Returns a summary string of the options.

[Validate]