Class: Glib::JsonUi::ActionBuilder::Components::Replace
- Inherits:
-
Action
- Object
- JsonUiElement
- Action
- Glib::JsonUi::ActionBuilder::Components::Replace
- Defined in:
- app/helpers/glib/json_ui/action_builder/components.rb
Overview
Experimental. Can this be merged with ‘components_set` ?
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
#newView(block) ⇒ Object
29 30 31 32 33 |
# File 'app/helpers/glib/json_ui/action_builder/components.rb', line 29 def newView(block) json.newView do block.call(page.sview_builder) end end |