Class: Glib::JsonUi::ViewBuilder::Button
- Inherits:
- 
      View
      
        - Object
- JsonUiElement
- View
- Glib::JsonUi::ViewBuilder::Button
 
- Defined in:
- app/helpers/glib/json_ui/view_builder.rb
Overview
class Banner < View
icon :icon
string :text
end
Instance Attribute Summary
Attributes inherited from JsonUiElement
Instance Method Summary collapse
Methods inherited from JsonUiElement
Constructor Details
This class inherits a constructor from Glib::JsonUi::JsonUiElement
Instance Method Details
#childButtons(block) ⇒ Object
| 199 200 201 202 203 | # File 'app/helpers/glib/json_ui/view_builder.rb', line 199 def childButtons(block) json.childButtons do block.call page. end end |