Module: CompassRails4::Configuration::AssetPipeline
- Defined in:
- lib/compass-rails4/configuration.rb
Instance Method Summary collapse
- #default_css_dir ⇒ Object
- #default_environment ⇒ Object
- #default_fonts_dir ⇒ Object
- #default_http_fonts_path ⇒ Object
- #default_http_generated_images_path ⇒ Object
- #default_http_images_path ⇒ Object
- #default_http_javascripts_path ⇒ Object
- #default_http_path ⇒ Object
- #default_http_stylesheets_path ⇒ Object
- #default_images_dir ⇒ Object
- #default_javascripts_dir ⇒ Object
- #default_preferred_syntax ⇒ Object
- #default_project_path ⇒ Object
- #default_sass_dir ⇒ Object
- #default_sprite_load_path ⇒ Object
Instance Method Details
#default_css_dir ⇒ Object
21 22 23 |
# File 'lib/compass-rails4/configuration.rb', line 21 def default_css_dir File.join('public', CompassRails4.prefix) end |
#default_environment ⇒ Object
61 62 63 |
# File 'lib/compass-rails4/configuration.rb', line 61 def default_environment CompassRails4.env end |
#default_fonts_dir ⇒ Object
9 10 11 |
# File 'lib/compass-rails4/configuration.rb', line 9 def default_fonts_dir File.join("app", "assets", "fonts") end |
#default_http_fonts_path ⇒ Object
41 42 43 |
# File 'lib/compass-rails4/configuration.rb', line 41 def default_http_fonts_path default_http_path end |
#default_http_generated_images_path ⇒ Object
29 30 31 |
# File 'lib/compass-rails4/configuration.rb', line 29 def default_http_generated_images_path default_http_path end |
#default_http_images_path ⇒ Object
33 34 35 |
# File 'lib/compass-rails4/configuration.rb', line 33 def default_http_images_path default_http_path end |
#default_http_javascripts_path ⇒ Object
37 38 39 |
# File 'lib/compass-rails4/configuration.rb', line 37 def default_http_javascripts_path default_http_path end |
#default_http_path ⇒ Object
25 26 27 |
# File 'lib/compass-rails4/configuration.rb', line 25 def default_http_path File.join(CompassRails4.prefix) end |
#default_http_stylesheets_path ⇒ Object
45 46 47 |
# File 'lib/compass-rails4/configuration.rb', line 45 def default_http_stylesheets_path default_http_path end |
#default_images_dir ⇒ Object
5 6 7 |
# File 'lib/compass-rails4/configuration.rb', line 5 def default_images_dir File.join("app", "assets", "images") end |
#default_javascripts_dir ⇒ Object
13 14 15 |
# File 'lib/compass-rails4/configuration.rb', line 13 def default_javascripts_dir File.join("app", "assets", "javascripts") end |
#default_preferred_syntax ⇒ Object
49 50 51 |
# File 'lib/compass-rails4/configuration.rb', line 49 def default_preferred_syntax CompassRails4.sass_config.preferred_syntax rescue nil end |
#default_project_path ⇒ Object
57 58 59 |
# File 'lib/compass-rails4/configuration.rb', line 57 def default_project_path project_path = CompassRails4.root end |
#default_sass_dir ⇒ Object
17 18 19 |
# File 'lib/compass-rails4/configuration.rb', line 17 def default_sass_dir File.join("app", "assets", "stylesheets") end |
#default_sprite_load_path ⇒ Object
53 54 55 |
# File 'lib/compass-rails4/configuration.rb', line 53 def default_sprite_load_path CompassRails4.sprockets.paths end |