Class: Command::NoValidateProcArgument

Inherits:
ProcArgument show all
Defined in:
lib/command-set/arguments.rb

Overview

Like ProcArgument, but performs to validation on the input.

Instance Attribute Summary

Attributes inherited from Argument

#name

Instance Method Summary collapse

Methods inherited from ProcArgument

#complete, #initialize

Methods inherited from Argument

#basis, #check_present, #complete, #consume, #consume_hash, #initialize, #match_terms, #names, #omittable?, #parse, register, #required?, #subject_requirements

Constructor Details

This class inherits a constructor from Command::ProcArgument

Instance Method Details

#validate(term, subject) ⇒ Object



414
415
416
# File 'lib/command-set/arguments.rb', line 414

def validate(term, subject)
  return true
end