Class: Glib::JsonUi::ViewBuilder::Panels::Table
- Inherits:
-
View
- Object
- JsonUiElement
- View
- Glib::JsonUi::ViewBuilder::Panels::Table
- Defined in:
- app/helpers/glib/json_ui/view_builder/panels.rb
Overview
deprecated
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
#firstSection(block) ⇒ Object
312 313 314 315 316 |
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 312 def firstSection(block) json.sections [1] do block.call page.table_section_builder end end |
#sections(blocks) ⇒ Object
318 319 320 321 322 323 324 325 326 |
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 318 def sections(blocks) json.sections do blocks.each do |block| json.child! do block.call page.table_section_builder end end end end |