Class: ActionTable::Configuration
- Inherits:
-
Object
- Object
- ActionTable::Configuration
- Defined in:
- lib/action_table.rb
Instance Attribute Summary collapse
-
#actions ⇒ Object
Returns the value of attribute actions.
-
#link_method ⇒ Object
Returns the value of attribute link_method.
- #rails_host_app ⇒ Object
-
#styles ⇒ Object
Returns the value of attribute 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 28 29 |
# File 'lib/action_table.rb', line 24 def initialize @rails_host_app = nil @styles = [] @actions = [] @link_method = :name end |
Instance Attribute Details
#actions ⇒ Object
Returns the value of attribute actions.
21 22 23 |
# File 'lib/action_table.rb', line 21 def actions @actions end |
#link_method ⇒ Object
Returns the value of attribute link_method.
21 22 23 |
# File 'lib/action_table.rb', line 21 def link_method @link_method end |
#rails_host_app ⇒ Object
31 32 33 |
# File 'lib/action_table.rb', line 31 def rails_host_app @rails_host_app || raise('rails host app must be configured!') end |
#styles ⇒ Object
Returns the value of attribute styles.
21 22 23 |
# File 'lib/action_table.rb', line 21 def styles @styles end |