method

add_banner

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: OptionParser
add_banner(to) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/optparse.rb, line 401
    def add_banner(to)  # :nodoc:
      unless @short or @long
        s = desc.join
        to << " [" + s + "]..." unless s.empty?
      end
      to
    end
Register or log in to add new notes.