Class: PVN::Command::OptionSet
- Defined in:
- lib/pvn/command/options.rb
Direct Known Subclasses
Diff::OptionSet, Log::OptionSet, Pct::OptionSet, Status::OptionSet
Instance Attribute Summary
Attributes inherited from OptionSet
#arguments, #options, #unprocessed
Instance Method Summary collapse
Methods inherited from OptionSet
#<<, #add, #as_command_line, #check_for_valid_options, #find_by_name, has_option, #has_option?, #initialize, #inspect, #post_process_all, #process, #to_command_line, #unset
Constructor Details
This class inherits a constructor from PVN::OptionSet
Instance Method Details
#name ⇒ Object
19 20 21 |
# File 'lib/pvn/command/options.rb', line 19 def name self.class.to_s.split('::')[-2].downcase end |
#paths ⇒ Object
23 24 25 |
# File 'lib/pvn/command/options.rb', line 23 def paths unprocessed end |