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: menu_renderer.rb
    path of file: ./repos/push_type/core/lib/push_type/menu_builder
    
    the code of the file until where you have to start completion: require 'push_type/menu_builder/dsl/menu_item'

module PushType
  module MenuBuilder

    class MenuRenderer

    
    
      def render_item(item)
        text = get_item_value(:text, item)
        link = get_item_value(:link, item)

        css_class = [
          item.item_options[:class],
          ( get_item_value(:active, item) ? item.active_class || @menu.active_class : nil )
        ].compact.join(' ')
        options = item.item_options.merge class: ( css_class if css_class.present? )

        @view.content_tag item.element, @view.link_to(text, link, item.link_options), options
      end