Class: Gem::OptionParser::Switch::NoArgument
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
Gem::OptionParser::Switch
|
Defined in: | lib/rubygems/optparse/lib/optparse.rb |
Overview
::Gem::OptionParser::Switch
that takes no arguments.
Class Method Summary
::Gem::OptionParser::Switch
- Inherited
.guess | Guesses argument style from #arg. |
.incompatible_argument_styles, .new, .pattern |
Instance Attribute Summary
Instance Method Summary
-
#parse(arg, argv) {|NeedlessArgument, arg| ... }
Raises an exception if any arguments given.
::Gem::OptionParser::Switch
- Inherited
#summarize | Produces the summary text. |
#switch_name | Main name of the switch. |
#add_banner, #compsys, #match_nonswitch?, | |
#conv_arg | |
#parse_arg |
Constructor Details
This class inherits a constructor from Gem::OptionParser::Switch
Class Method Details
.incompatible_argument_styles
[ GitHub ]# File 'lib/rubygems/optparse/lib/optparse.rb', line 690
def self.incompatible_argument_styles(*) end
.pattern
[ GitHub ]# File 'lib/rubygems/optparse/lib/optparse.rb', line 693
def self.pattern Object end
Instance Method Details
#parse(arg, argv) {|NeedlessArgument, arg| ... }
Raises an exception if any arguments given.