module OptionParser::Completion
Keyword completion module. This allows partial arguments to be specified and resolved against a list of acceptable values.
Public Class Methods
(untyped key, ?untyped icase, ?untyped pat) { (*untyped) → untyped } → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/optparse/0/optparse.rbs, line 1241
def self.candidate: (untyped key, ?untyped icase, ?untyped pat) { (*untyped) -> untyped } -> untyped
(untyped key, untyped icase) → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/optparse/0/optparse.rbs, line 1248
def self.regexp: (untyped key, untyped icase) -> untyped
Public Instance Methods
(untyped key, ?untyped icase, ?untyped pat) → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/optparse/0/optparse.rbs, line 1255
def candidate: (untyped key, ?untyped icase, ?untyped pat) -> untyped
(untyped key, ?untyped icase, ?untyped pat) → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/optparse/0/optparse.rbs, line 1262
def complete: (untyped key, ?untyped icase, ?untyped pat) -> untyped
(?untyped opt, ?untyped val, *untyped) → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/optparse/0/optparse.rbs, line 1269
def convert: (?untyped opt, ?untyped val, *untyped) -> untyped