Class: Stylish::Developer::Config
- Inherits:
-
Struct
- Object
- Struct
- Stylish::Developer::Config
- Defined in:
- lib/stylish/developer/config.rb
Instance Attribute Summary collapse
-
#assets_prefix ⇒ Object
Returns the value of attribute assets_prefix.
-
#base ⇒ Object
Returns the value of attribute base.
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#library_root ⇒ Object
Returns the value of attribute library_root.
-
#root ⇒ Object
Returns the value of attribute root.
Instance Method Summary collapse
Instance Attribute Details
#assets_prefix ⇒ Object
Returns the value of attribute assets_prefix
3 4 5 |
# File 'lib/stylish/developer/config.rb', line 3 def assets_prefix @assets_prefix end |
#base ⇒ Object
Returns the value of attribute base
3 4 5 |
# File 'lib/stylish/developer/config.rb', line 3 def base @base end |
#environment ⇒ Object
Returns the value of attribute environment
3 4 5 |
# File 'lib/stylish/developer/config.rb', line 3 def environment @environment end |
#library_root ⇒ Object
Returns the value of attribute library_root
3 4 5 |
# File 'lib/stylish/developer/config.rb', line 3 def library_root @library_root end |
#root ⇒ Object
Returns the value of attribute root
3 4 5 |
# File 'lib/stylish/developer/config.rb', line 3 def root @root end |
Instance Method Details
#asset_prefix ⇒ Object
8 9 10 |
# File 'lib/stylish/developer/config.rb', line 8 def asset_prefix assets_prefix || "/assets" end |
#base_url ⇒ Object
4 5 6 |
# File 'lib/stylish/developer/config.rb', line 4 def base_url base || "/stylish" end |