Class: Glib::JsonUi::AbstractBuilder

Inherits:
Object
  • Object
show all
Defined in:
app/helpers/glib/json_ui/abstract_builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#jsonObject (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

#pageObject (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