Closed pocke closed 5 months ago
ref: https://github.com/ruby/gem_rbs_collection/pull/502
I applied @ybiquitous's changes with small modifications.
banner
examples
--help
tap
abort
OptionParser.new
ref: https://github.com/ruby/gem_rbs_collection/pull/502
I applied @ybiquitous's changes with small modifications.
banner
instead of theexamples
lvar--help
option is unnecessary because optparse defines--help
automatically.tap
is unnecessary to callabort
. We can write the logic in theOptionParser.new
's block.