Class: RubyUIAdmin::Menu::DashboardItem

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

Overview

A leaf linking to a dashboard.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dashboardObject

Returns the value of attribute dashboard

Returns:

  • (Object)

    the current value of dashboard



17
18
19
# File 'lib/ruby_ui_admin/menu/builder.rb', line 17

def dashboard
  @dashboard
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



17
18
19
# File 'lib/ruby_ui_admin/menu/builder.rb', line 17

def label
  @label
end

Instance Method Details

#typeObject



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

def type = :dashboard