opts :: OptionText
opts $ OptionText :: SELF
Type of this instance, automatically specialized in every classcore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
opts :: Option :: default_value=
Default value of this optioncore :: Object :: defaultinit
opts :: Option :: defaultinit
Create a new optioncore :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).opts :: Option :: read_param
Consume parameters for this option
# Not really an option. Just add a line of text when displaying the usage
class OptionText
super Option
# Init a new OptionText with `text`.
init(text: String) is old_style_init do super(text, null, null)
redef fun pretty(off) do return to_s
redef fun to_s do return helptext
end
lib/opts/opts.nit:100,1--110,3