This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.
switch_name()
Main name of the switch.
# File lib/optparse.rb, line 416 def switch_name (long.first || short.first).sub(/\A-+(?:\[no-\])?/, '') end