Class: Trejo::Configuration
- Inherits:
-
Object
- Object
- Trejo::Configuration
- Defined in:
- lib/trejo.rb
Instance Attribute Summary collapse
-
#company_name ⇒ Object
Returns the value of attribute company_name.
-
#site_title ⇒ Object
Returns the value of attribute site_title.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
17 18 19 20 |
# File 'lib/trejo.rb', line 17 def initialize @site_title = Rails.application.class.parent_name @company_name = Rails.application.class.parent_name end |
Instance Attribute Details
#company_name ⇒ Object
Returns the value of attribute company_name.
15 16 17 |
# File 'lib/trejo.rb', line 15 def company_name @company_name end |
#site_title ⇒ Object
Returns the value of attribute site_title.
15 16 17 |
# File 'lib/trejo.rb', line 15 def site_title @site_title end |