Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

OptionParser::List#summarize

summarize(*args, &block)

Creates the summary table, passing each line to the block (without newline). The arguments args are passed along to the summarize method which is called on every option.

See also #search #update #reject also in 3.3 · 3.2 · 3.1