Class: Glib::JsonUi::ActionBuilder::Logics::Set

Inherits:
Action show all
Defined in:
app/helpers/glib/json_ui/action_builder/logics.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



13
14
15
16
17
# File 'app/helpers/glib/json_ui/action_builder/logics.rb', line 13

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