Class: Glib::JsonUi::ActionBuilder::Components::Set

Inherits:
Action show all
Defined in:
app/helpers/glib/json_ui/action_builder/components.rb

Instance Attribute Summary

Attributes inherited from JsonUiElement

#json, #page

Instance Method Summary collapse

Methods inherited from JsonUiElement

#initialize, #props

Constructor Details

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

Instance Method Details

#dataBuilder(block) ⇒ Object



44
45
46
47
48
# File 'app/helpers/glib/json_ui/action_builder/components.rb', line 44

def dataBuilder(block)
  json.data do
    block.call(page.sview_builder)
  end
end