Class: Charsi::App
- Inherits:
-
Object
- Object
- Charsi::App
- Defined in:
- lib/charsi/app.rb
Overview
Standard app class.
This class is used to build the app. It includes all utility methods to be acccessed through the templating.
Instance Attribute Summary collapse
-
#cache_slug ⇒ Object
readonly
Returns the value of attribute cache_slug.
Instance Method Summary collapse
-
#initialize ⇒ App
constructor
A new instance of App.
Constructor Details
#initialize ⇒ App
Returns a new instance of App.
9 10 11 12 13 14 |
# File 'lib/charsi/app.rb', line 9 def initialize @cache_slug = Time.now.to_i @config = Configuration.new load_helpers end |
Instance Attribute Details
#cache_slug ⇒ Object (readonly)
Returns the value of attribute cache_slug.
7 8 9 |
# File 'lib/charsi/app.rb', line 7 def cache_slug @cache_slug end |