End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
OptionParser::Arguable#parse!
parse!
lib/optparse.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/optparse.rb, line 2183
def parse!() options.parse!(self) end
Parses self destructively and returns self containing the rest arguments left unparsed.