Class: DiningTable::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/dining-table/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_presenterObject

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_presenterObject

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_presenterObject

Returns the value of attribute html_presenter.



22
23
24
# File 'lib/dining-table/config.rb', line 22

def html_presenter
  @html_presenter
end