Class: Command::Named

Inherits:
ArgumentDecorator show all
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

#name, #value

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