Class: ActionTable::Configuration
- Inherits:
-
Object
- Object
- ActionTable::Configuration
- Defined in:
- lib/action_table.rb
Instance Attribute Summary collapse
- #rails_host_app ⇒ Object
-
#table_styles ⇒ Object
Returns the value of attribute table_styles.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
24 25 26 27 |
# File 'lib/action_table.rb', line 24 def initialize @rails_host_app = nil @table_styles = [] end |
Instance Attribute Details
#rails_host_app ⇒ Object
29 30 31 |
# File 'lib/action_table.rb', line 29 def rails_host_app @rails_host_app || raise('rails host app must be configured!') end |
#table_styles ⇒ Object
Returns the value of attribute table_styles.
21 22 23 |
# File 'lib/action_table.rb', line 21 def table_styles @table_styles end |