Class: Command::ParentArgument

Inherits:
Argument
  • Object
show all
Defined in:
lib/command-set/arguments.rb

Instance Attribute Summary

Attributes inherited from Argument

#name

Instance Method Summary collapse

Methods inherited from Argument

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

Constructor Details

This class inherits a constructor from Command::Argument

Instance Method Details

#match_terms(subject, terms, arguments) ⇒ Object



110
111
112
# File 'lib/command-set/arguments.rb', line 110

def match_terms(subject, terms, arguments)
  arguments.shift
end