abstract class
Argy::Flag
- Argy::Flag
- Reference
- Object
Direct Known Subclasses
Defined in:
argy/flag.crConstructors
Instance Method Summary
- #changed : Bool
- #changed=(changed : Bool)
- #name : String
-
#reset! : Nil
Reset the flag to its declared default and clear changed-state.
-
#set_from_string(raw : String) : Nil
Set the flag value from a raw string; raises InvalidFlagValueError on failure
- #shorthand : Char | Nil
-
#type_label : String
The type label shown in help (e.g.
- #usage : String
-
#value_string : String
Human-readable current value (used in help output)
Constructor Detail
Instance Method Detail
abstract
def set_from_string(raw : String) : Nil
#
Set the flag value from a raw string; raises InvalidFlagValueError on failure