Class: Command::NoValidateProcArgument
- Inherits:
-
ProcArgument
- Object
- Argument
- ProcArgument
- Command::NoValidateProcArgument
- Defined in:
- lib/command-set/arguments.rb
Overview
Like ProcArgument, but performs to validation on the input.
Instance Attribute Summary
Attributes inherited from Argument
Instance Method Summary collapse
Methods inherited from ProcArgument
Methods inherited from Argument
#check_present, #complete, #consume, #consume_hash, #initialize, #match_terms, #omittable?, #parse, register, #required?
Constructor Details
This class inherits a constructor from Command::ProcArgument
Instance Method Details
#validate(term, subject) ⇒ Object
396 397 398 |
# File 'lib/command-set/arguments.rb', line 396 def validate(term, subject) return true end |