Class: Command::Repeating
- Inherits:
-
ArgumentDecorator
- Object
- Argument
- ArgumentDecorator
- Command::Repeating
- Defined in:
- lib/command-set/arguments.rb
Overview
Consumes several positions of the decorated argument.
repeating.file_argument :some_files
Will collect an array into some_files of validated files.
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