Class: Glib::JsonUi::DynamicFieldBuilders::Group
- Inherits:
-
AbstractBuilder
- Object
- AbstractBuilder
- Glib::JsonUi::DynamicFieldBuilders::Group
- Defined in:
- app/helpers/glib/json_ui/dynamic_field_builders.rb
Instance Attribute Summary
Attributes inherited from AbstractBuilder
Instance Method Summary collapse
-
#initialize(json, page, template) ⇒ Group
constructor
A new instance of Group.
- #template(options = {}) ⇒ Object
-
#titlePrefix(string) ⇒ Object
string :titlePrefix.
Constructor Details
#initialize(json, page, template) ⇒ Group
Returns a new instance of Group.
6 7 8 9 |
# File 'app/helpers/glib/json_ui/dynamic_field_builders.rb', line 6 def initialize(json, page, template) super json, page @template = template end |
Instance Method Details
#template(options = {}) ⇒ Object
16 17 18 19 20 |
# File 'app/helpers/glib/json_ui/dynamic_field_builders.rb', line 16 def template( = {}) # json.template do page.vertical_content() # end end |
#titlePrefix(string) ⇒ Object
string :titlePrefix
12 13 14 |
# File 'app/helpers/glib/json_ui/dynamic_field_builders.rb', line 12 def titlePrefix(string) json.titlePrefix string end |