Class: Ignition::Configuration
- Inherits:
-
Object
- Object
- Ignition::Configuration
- Defined in:
- lib/ignition/config.rb
Instance Attribute Summary collapse
-
#cache ⇒ Object
Returns the value of attribute cache.
-
#layout ⇒ Object
Returns the value of attribute layout.
-
#view_prefix ⇒ Object
Returns the value of attribute view_prefix.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 |
# File 'lib/ignition/config.rb', line 5 def initialize @cache = :none @view_prefix = 'pages' @layout = 'application' end |
Instance Attribute Details
#cache ⇒ Object
Returns the value of attribute cache.
3 4 5 |
# File 'lib/ignition/config.rb', line 3 def cache @cache end |
#layout ⇒ Object
Returns the value of attribute layout.
3 4 5 |
# File 'lib/ignition/config.rb', line 3 def layout @layout end |
#view_prefix ⇒ Object
Returns the value of attribute view_prefix.
3 4 5 |
# File 'lib/ignition/config.rb', line 3 def view_prefix @view_prefix end |