class ActiveAdmin::MenuItem

def initialize(name, url, priority = 10, options = {})

def initialize(name, url, priority = 10, options = {})
  @name, @url, @priority = name, url, priority
  @children = []
  @cached_url = {} # Stores the cached url in a hash to allow us to change it and still cache it
  @display_if_block = options.delete(:if)
  
  yield(self) if block_given? # Builder style syntax
end