Class: Glib::JsonUi::MenuBuilder::Button

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

#initialize, #parse

Constructor Details

This class inherits a constructor from Glib::JsonUi::JsonUiElement

Instance Method Details

#createdObject



17
18
19
# File 'app/helpers/glib/json_ui/menu_builder.rb', line 17

def created
  json.type 'button'
end