Class: Bookingit::Views::FooterView
- Defined in:
- lib/bookingit/views/footer_view.rb
Instance Attribute Summary collapse
-
#chapter ⇒ Object
readonly
Returns the value of attribute chapter.
Attributes inherited from BaseView
Instance Method Summary collapse
-
#initialize(chapter, config) ⇒ FooterView
constructor
A new instance of FooterView.
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
#chapter ⇒ Object (readonly)
Returns the value of attribute chapter.
6 7 8 |
# File 'lib/bookingit/views/footer_view.rb', line 6 def chapter @chapter end |