Class: Fastr::Settings
Instance Attribute Summary collapse
-
#cache_templates ⇒ Object
Returns the value of attribute cache_templates.
Instance Method Summary collapse
-
#initialize(app) ⇒ Settings
constructor
A new instance of Settings.
- #log_level=(level) ⇒ Object
- #plugins ⇒ Object
Methods included from Log
create_logger, included, level=
Constructor Details
#initialize(app) ⇒ Settings
Returns a new instance of Settings.
7 8 9 10 |
# File 'lib/fastr/settings.rb', line 7 def initialize(app) @app = app @cache_templates = true end |
Instance Attribute Details
#cache_templates ⇒ Object
Returns the value of attribute cache_templates.
5 6 7 |
# File 'lib/fastr/settings.rb', line 5 def cache_templates @cache_templates end |