Class: SiteFramework::CurrentState
- Inherits:
-
Object
- Object
- SiteFramework::CurrentState
- Includes:
- Singleton
- Defined in:
- lib/site_framework/current_state.rb
Overview
This singleton class act as an temp storage for the current site and domain
Instance Attribute Summary collapse
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#domain_name ⇒ Object
Returns the value of attribute domain_name.
-
#site ⇒ Object
Returns the value of attribute site.
Instance Attribute Details
#domain ⇒ Object
Returns the value of attribute domain.
7 8 9 |
# File 'lib/site_framework/current_state.rb', line 7 def domain @domain end |
#domain_name ⇒ Object
Returns the value of attribute domain_name.
7 8 9 |
# File 'lib/site_framework/current_state.rb', line 7 def domain_name @domain_name end |
#site ⇒ Object
Returns the value of attribute site.
7 8 9 |
# File 'lib/site_framework/current_state.rb', line 7 def site @site end |