Class: Bookingit::Views::IndexView
- Extended by:
- Forwardable
- Defined in:
- lib/bookingit/views/index_view.rb
Instance Attribute Summary collapse
-
#back_matter ⇒ Object
readonly
Returns the value of attribute back_matter.
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#front_matter ⇒ Object
readonly
Returns the value of attribute front_matter.
-
#main_matter ⇒ Object
readonly
Returns the value of attribute main_matter.
Instance Method Summary collapse
-
#initialize(stylesheets, theme, front_matter, main_matter, back_matter, config) ⇒ IndexView
constructor
A new instance of IndexView.
Constructor Details
#initialize(stylesheets, theme, front_matter, main_matter, back_matter, config) ⇒ IndexView
Returns a new instance of IndexView.
11 12 13 14 15 16 17 |
# File 'lib/bookingit/views/index_view.rb', line 11 def initialize(stylesheets,theme,front_matter,main_matter,back_matter,config) @header_view = HeaderView.new(stylesheets,theme,config) @front_matter = front_matter @main_matter = main_matter @back_matter = back_matter super(config) end |
Instance Attribute Details
#back_matter ⇒ Object (readonly)
Returns the value of attribute back_matter.
8 9 10 |
# File 'lib/bookingit/views/index_view.rb', line 8 def back_matter @back_matter end |
#config ⇒ Object (readonly)
Returns the value of attribute config.
8 9 10 |
# File 'lib/bookingit/views/index_view.rb', line 8 def config @config end |
#front_matter ⇒ Object (readonly)
Returns the value of attribute front_matter.
8 9 10 |
# File 'lib/bookingit/views/index_view.rb', line 8 def front_matter @front_matter end |
#main_matter ⇒ Object (readonly)
Returns the value of attribute main_matter.
8 9 10 |
# File 'lib/bookingit/views/index_view.rb', line 8 def main_matter @main_matter end |