Class: Stationary::Configuration
- Inherits:
-
Object
- Object
- Stationary::Configuration
- Defined in:
- lib/stationary.rb
Instance Attribute Summary collapse
-
#layout ⇒ Object
Returns the value of attribute layout.
-
#root ⇒ Object
Returns the value of attribute root.
-
#skip_before_filter ⇒ Object
Returns the value of attribute skip_before_filter.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
20 21 22 23 24 |
# File 'lib/stationary.rb', line 20 def initialize @layout = 'application' @skip_before_filter = [] @root = "#{Rails.root}/app/views/stationary" end |
Instance Attribute Details
#layout ⇒ Object
Returns the value of attribute layout.
18 19 20 |
# File 'lib/stationary.rb', line 18 def layout @layout end |
#root ⇒ Object
Returns the value of attribute root.
18 19 20 |
# File 'lib/stationary.rb', line 18 def root @root end |
#skip_before_filter ⇒ Object
Returns the value of attribute skip_before_filter.
18 19 20 |
# File 'lib/stationary.rb', line 18 def skip_before_filter @skip_before_filter end |