Class: DiningTable::Configuration
- Inherits:
-
Object
- Object
- DiningTable::Configuration
- Defined in:
- lib/dining-table/config.rb
Instance Attribute Summary collapse
-
#csv_presenter ⇒ Object
Returns the value of attribute csv_presenter.
-
#excel_presenter ⇒ Object
Returns the value of attribute excel_presenter.
-
#html_presenter ⇒ Object
Returns the value of attribute html_presenter.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
26 27 28 29 30 |
# File 'lib/dining-table/config.rb', line 26 def initialize @html_presenter = PresenterConfiguration.new @csv_presenter = PresenterConfiguration.new @excel_presenter = PresenterConfiguration.new end |
Instance Attribute Details
#csv_presenter ⇒ Object
Returns the value of attribute csv_presenter.
23 24 25 |
# File 'lib/dining-table/config.rb', line 23 def csv_presenter @csv_presenter end |
#excel_presenter ⇒ Object
Returns the value of attribute excel_presenter.
24 25 26 |
# File 'lib/dining-table/config.rb', line 24 def excel_presenter @excel_presenter end |
#html_presenter ⇒ Object
Returns the value of attribute html_presenter.
22 23 24 |
# File 'lib/dining-table/config.rb', line 22 def html_presenter @html_presenter end |