Class: Glib::JsonUi::ViewBuilder::Fields::Check

Inherits:
Text show all
Defined in:
app/helpers/glib/json_ui/view_builder/fields.rb

Instance Attribute Summary

Attributes inherited from JsonUiElement

#json, #page

Instance Method Summary collapse

Methods inherited from AbstractField

#created, #hint, #hint_args, #label, #label_args, #name, #placeholder, #placeholder_args, #prop

Methods inherited from JsonUiElement

#initialize, #props

Constructor Details

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

Instance Method Details

#value(value) ⇒ Object



131
132
133
# File 'app/helpers/glib/json_ui/view_builder/fields.rb', line 131

def value(value)
  @value = value if value != Glib::Value::DEFAULT
end