Class: PVN::Command::OptionSet

Inherits:
OptionSet show all
Defined in:
lib/pvn/command/options.rb

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

#nameObject



19
20
21
# File 'lib/pvn/command/options.rb', line 19

def name
  self.class.to_s.split('::')[-2].downcase
end

#pathsObject



23
24
25
# File 'lib/pvn/command/options.rb', line 23

def paths
  unprocessed
end