Module: RenderTable
- Defined in:
- lib/render_table.rb,
lib/render_table/version.rb
Defined Under Namespace
Modules: Html, Options Classes: Base, Cell, Configuration, Row, Table
Constant Summary collapse
- VERSION =
'1.1.1'.freeze
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
12 13 14 |
# File 'lib/render_table.rb', line 12 def configuration @configuration end |
Class Method Details
.config ⇒ Object
20 21 22 |
# File 'lib/render_table.rb', line 20 def self.config self.configuration || RenderTable::Configuration.new end |
.configure {|configuration| ... } ⇒ Object
15 16 17 18 |
# File 'lib/render_table.rb', line 15 def self.configure self.configuration ||= RenderTable::Configuration.new yield(configuration) end |