Class: Glib::JsonUi::AbstractBuilder
- Inherits:
-
Object
- Object
- Glib::JsonUi::AbstractBuilder
- Defined in:
- app/helpers/glib/json_ui/abstract_builder.rb
Direct Known Subclasses
ActionBuilder, DynamicFieldBuilders::Group, GenericBuilders::Content, ListBuilders::ListTemplate, ListBuilders::Section, ListBuilders::TreeTemplate, MenuBuilder, TableBuilders::Section, TableBuilders::Template, ViewBuilder
Instance Attribute Summary collapse
-
#json ⇒ Object
readonly
Returns the value of attribute json.
-
#page ⇒ Object
readonly
Returns the value of attribute page.
Instance Method Summary collapse
-
#initialize(json, page) ⇒ AbstractBuilder
constructor
A new instance of AbstractBuilder.
Constructor Details
#initialize(json, page) ⇒ AbstractBuilder
Returns a new instance of AbstractBuilder.
6 7 8 9 |
# File 'app/helpers/glib/json_ui/abstract_builder.rb', line 6 def initialize(json, page) @json = json @page = page end |
Instance Attribute Details
#json ⇒ Object (readonly)
Returns the value of attribute json.
4 5 6 |
# File 'app/helpers/glib/json_ui/abstract_builder.rb', line 4 def json @json end |
#page ⇒ Object (readonly)
Returns the value of attribute page.
4 5 6 |
# File 'app/helpers/glib/json_ui/abstract_builder.rb', line 4 def page @page end |