Sha256: be876b449282a98b5d5a5e4093728ff438307ccc4e51904a4384e7b0f6445aa4
Contents?: true
Size: 653 Bytes
Versions: 8
Compression:
Stored size: 653 Bytes
Contents
module ActiveAdmin::MenuTree class Config type menu_tree_item = Hash[Symbol, untyped] type menu_option = Hash[Symbol, untyped] attr_reader menu_tree: Array[menu_tree_item] attr_reader menu_options: Array[menu_option] def initialize: () -> void # def menu_tree=: (Array[Hash[untyped, untyped]] new_value) -> void def menu_tree=: (Array[untyped] new_value) -> void def find_menu_option: (name: String) -> (menu_option | nil) private def flatten_menu_tree: () -> Array[menu_option] def format_options: (Hash[Symbol, untyped] item, index: Integer index, ?parent: String? parent) -> menu_option end end
Version data entries
8 entries across 8 versions & 1 rubygems