class OptionParser::Switch::PlacedArgument
Switch that takes an argument, which does not begin with ‘-’ or is ‘-’.
Public Instance Methods
(untyped arg, untyped argv) { (*untyped) → untyped } → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/optparse/0/optparse.rbs, line 1720
def parse: (untyped arg, untyped argv) { (*untyped) -> untyped } -> untyped
Returns nil if argument is not present or begins with ‘-’ and is not ‘-’.