Class: Glib::JsonUi::ActionBuilder::Dialogs::Options
- Inherits:
-
Action
- Object
- JsonUiElement
- Action
- Glib::JsonUi::ActionBuilder::Dialogs::Options
- Defined in:
- app/helpers/glib/json_ui/action_builder.rb
Overview
class Confirm < Action
string :message
action :onConfirm
action :onCancel
end
Instance Attribute Summary
Attributes inherited from JsonUiElement
Instance Method Summary collapse
Methods inherited from Action
Methods inherited from JsonUiElement
Constructor Details
This class inherits a constructor from Glib::JsonUi::JsonUiElement
Instance Method Details
#buttons(block) ⇒ Object
56 57 58 59 60 |
# File 'app/helpers/glib/json_ui/action_builder.rb', line 56 def (block) json. do block.call page. end end |