You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: navigation.rb
    path of file: ./repos/nesta/lib/nesta
    
    the code of the file until where you have to start completion: module Nesta
  module Navigation
    module Renderers
      def display_menu(menu, options = {})
        defaults = { class: nil, levels: 2 }
        options = defaults.merge(options)
        if options[:levels] 
    
      def display_menu(menu, options = {})
        defaults = { class: nil, levels: 2 }
        options = defaults.merge(options)
        if options[:levels] > 0
          haml_tag :ul, class: options[:class] do
            menu.each do |item|
              display_menu_item(item, options)
            end
          end
        end