Class: Glib::JsonUi::ViewBuilder::Panels::Tree
- Inherits:
-
View
- Object
- JsonUiElement
- View
- Glib::JsonUi::ViewBuilder::Panels::Tree
- Includes:
- Upload
- Defined in:
- app/helpers/glib/json_ui/view_builder/panels.rb
Instance Attribute Summary
Attributes inherited from JsonUiElement
Instance Method Summary collapse
Methods inherited from View
Methods inherited from JsonUiElement
Constructor Details
This class inherits a constructor from Glib::JsonUi::JsonUiElement
Instance Method Details
#sections(blocks) ⇒ Object
554 555 556 557 558 559 560 561 562 |
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 554 def sections(blocks) json.sections do blocks.each do |block| json.child! do block.call page.tree_section_builder end end end end |