Module: DiningTable

Defined in:
lib/dining-table/config.rb,
lib/dining-table/table.rb,
lib/dining-table/columns/column.rb,
lib/dining-table/presenters/presenter.rb,
lib/dining-table/columns/actions_column.rb,
lib/dining-table/presenters/csv_presenter.rb,
lib/dining-table/presenters/html_presenter.rb,
lib/dining-table/presenters/excel_presenter.rb,
lib/dining-table/presenters/spreadsheet_presenter.rb,
lib/dining-table/presenters/html_presenter_configuration.rb

Overview

Defined Under Namespace

Modules: Columns, Presenters Classes: Configuration, PresenterConfiguration, Table

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



5
6
7
# File 'lib/dining-table/config.rb', line 5

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



8
9
10
11
# File 'lib/dining-table/config.rb', line 8

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end