class

Optimist::LongNames

Inherits Reference < Object

Constructors

new(truename : String, lopt : LongNameType, alts : AlternatesType)
Source

Instance methods

long

long specified with :long has precedence over the true-name

Source
make_valid(lopt : String) : String
Source
names

all valid names, including alts

Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source