options (HighLine::Menu)

    # File lib/highline/menu.rb, line 265
        def options(  )
          # add in any hidden menu commands
          @items.concat(@hidden_items)

          by_index = if @index == :letter
            l_index = "`"
            @items.map { "#{l_index.succ!}" }
          else
            (1 .. @items.size).collect { |s| String(s) }
          end
          by_name = @items.collect { |c| c.first }

          case @select_by
          when :index then
            by_index
          when :name
            by_name
          else
            by_index + by_name
          end
        ensure
          # make sure the hidden items are removed, before we return
          @items.slice!(@items.size - @hidden_items.size, @hidden_items.size)
        end