Class: KXI::CLI::FlagArgument
- Inherits:
-
ExplicitArgument
- Object
- Argument
- ExplicitArgument
- KXI::CLI::FlagArgument
- Defined in:
- lib/kxi/cli/flag_argument.rb
Overview
Represents the flag argument (eg.: -f, –flag)
Instance Method Summary collapse
-
#initialize(nm, desc, sh = nil) ⇒ FlagArgument
constructor
Instantiates the FlagArgument class.
Methods inherited from ExplicitArgument
Methods inherited from Argument
#description, #headline, #name, #order, #required?, #syntax
Constructor Details
#initialize(nm, desc, sh = nil) ⇒ FlagArgument
Instantiates the KXI::CLI::FlagArgument class
11 12 13 |
# File 'lib/kxi/cli/flag_argument.rb', line 11 def initialize(nm, desc, sh = nil) super(nm, desc, sh) end |