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.
-
#links ⇒ Object
Returns the value of attribute links.
- #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 = [] @links = [] 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 |
#links ⇒ Object
Returns the value of attribute links.
21 22 23 |
# File 'lib/action_table.rb', line 21 def links @links 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 |