Class: Command::Named
- Inherits:
-
ArgumentDecorator
- Object
- Argument
- ArgumentDecorator
- Command::Named
- Defined in:
- lib/command-set/arguments.rb
Overview
Indicated that the name of the argument has to appear on the command line before it will be recognized. Useful for optional or alternating arguments
Instance Attribute Summary
Attributes inherited from Argument
Method Summary
Methods inherited from ArgumentDecorator
decor, #decor, #decorate, decoration, #embed_argument, #initialize, register
Methods inherited from Argument
#check_present, #complete, #consume, #consume_hash, #initialize, #match_terms, #omittable?, #parse, register, #required?, #validate
Constructor Details
This class inherits a constructor from Command::ArgumentDecorator