Class: Glib::JsonUi::MenuBuilder

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

Defined Under Namespace

Classes: Button, Divider, Label, MenuItem

Instance Attribute Summary

Attributes inherited from AbstractBuilder

#json, #page

Instance Method Summary collapse

Methods inherited from AbstractBuilder

#initialize

Constructor Details

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

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(m, *args) ⇒ Object



4
5
6
# File 'app/helpers/glib/json_ui/menu_builder.rb', line 4

def method_missing(m, *args)
  add_element_to_array_v1 nil, m, *args
end