Class: OptionParser
Defined Under Namespace
Classes: InvalidArgument, InvalidOption, MissingArgument
Instance Method Summary collapse
- #banner= ⇒ String
-
#initialize {|arg0| ... } ⇒ OptionParser
constructor
A new instance of OptionParser.
- #on ⇒ void
- #parse! ⇒ Array[String]
- #separator ⇒ void
- #to_s ⇒ String
Constructor Details
#initialize {|arg0| ... } ⇒ OptionParser
Returns a new instance of OptionParser.
13 |
# File 'sig/vendor/optparse.rbs', line 13 def initialize: () { (OptionParser) -> void } -> void |
Instance Method Details
#on ⇒ void
This method returns an undefined value.
16 |
# File 'sig/vendor/optparse.rbs', line 16 def on: (*untyped) ?{ (*untyped) -> untyped } -> void |
#parse! ⇒ Array[String]
18 |
# File 'sig/vendor/optparse.rbs', line 18 def parse!: (Array[String]) -> Array[String] |
#separator ⇒ void
This method returns an undefined value.
15 |
# File 'sig/vendor/optparse.rbs', line 15 def separator: (String) -> void |