def render(output, &block)
      @output = Array(output)
      return [] if @output.size.zero?
      chosen = choose_from_menu
      block.call(chosen) if block && chosen.size > 0
      @options[:action] ? execute_action(chosen) : chosen
    end
def render(output, &block)
      @output = Array(output)
      return [] if @output.size.zero?
      chosen = choose_from_menu
      block.call(chosen) if block && chosen.size > 0
      @options[:action] ? execute_action(chosen) : chosen
    end
:stopdoc: