Class: Glib::JsonUi::MenuBuilder::Label
- Inherits:
-
MenuItem
- Object
- JsonUiElement
- MenuItem
- Glib::JsonUi::MenuBuilder::Label
- Defined in:
- app/helpers/glib/json_ui/menu_builder.rb
Instance Attribute Summary
Attributes inherited from JsonUiElement
Instance Method Summary collapse
-
#created ⇒ Object
Override.
Methods inherited from JsonUiElement
action, any, array, badgeable, bool, color, component_name, date, date_time, enum, float, hash, icon, #initialize, int, length, menu, panels_builder, #props, required, singleton_array, string, text, url, views
Constructor Details
This class inherits a constructor from Glib::JsonUi::JsonUiElement
Instance Method Details
#created ⇒ Object
Override
54 55 56 57 58 |
# File 'app/helpers/glib/json_ui/menu_builder.rb', line 54 def created super json.type 'label' end |