Class: RubyUIAdmin::Menu::SectionItem

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby_ui_admin/menu/builder.rb

Overview

A titled group of items.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#iconObject

Returns the value of attribute icon

Returns:

  • (Object)

    the current value of icon



22
23
24
# File 'lib/ruby_ui_admin/menu/builder.rb', line 22

def icon
  @icon
end

#itemsObject

Returns the value of attribute items

Returns:

  • (Object)

    the current value of items



22
23
24
# File 'lib/ruby_ui_admin/menu/builder.rb', line 22

def items
  @items
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



22
23
24
# File 'lib/ruby_ui_admin/menu/builder.rb', line 22

def label
  @label
end

Instance Method Details

#typeObject



23
# File 'lib/ruby_ui_admin/menu/builder.rb', line 23

def type = :section