Class: Glib::JsonUi::MenuBuilder::Divider

Inherits:
MenuItem show all
Defined in:
app/helpers/glib/json_ui/menu_builder.rb

Instance Attribute Summary

Attributes inherited from JsonUiElement

#json, #page

Instance Method Summary collapse

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

#createdObject

Override



42
43
44
45
46
# File 'app/helpers/glib/json_ui/menu_builder.rb', line 42

def created
  super

  json.type 'divider'
end