Class: Bookingit::Views::FooterView

Inherits:
BaseView
  • Object
show all
Defined in:
lib/bookingit/views/footer_view.rb

Instance Attribute Summary collapse

Attributes inherited from BaseView

#config

Instance Method Summary collapse

Constructor Details

#initialize(chapter, config) ⇒ FooterView

Returns a new instance of FooterView.



8
9
10
11
# File 'lib/bookingit/views/footer_view.rb', line 8

def initialize(chapter,config)
  @chapter = chapter
  super(config)
end

Instance Attribute Details

#chapterObject (readonly)

Returns the value of attribute chapter.



6
7
8
# File 'lib/bookingit/views/footer_view.rb', line 6

def chapter
  @chapter
end