# File lib/compass/configuration/defaults.rb, line 124 def default_cache true end
# File lib/compass/configuration/defaults.rb, line 81 def default_cache_path if (pp = top_level.project_path) && (dir = top_level.cache_dir) Compass.projectize(dir, pp) end end
# File lib/compass/configuration/defaults.rb, line 136 def default_chunky_png_options {:compression => Zlib::BEST_COMPRESSION} end
# File lib/compass/configuration/defaults.rb, line 41 def default_color_output true end
# File lib/compass/configuration/defaults.rb, line 51 def default_css_path if (pp = top_level.project_path) && (dir = top_level.css_dir) Compass.projectize(dir, pp) end end
# File lib/compass/configuration/defaults.rb, line 25 def default_environment :development end
# File lib/compass/configuration/defaults.rb, line 17 def default_extensions_dir "extensions" end
# File lib/compass/configuration/defaults.rb, line 69 def default_extensions_path if (pp = top_level.project_path) && (dir = top_level.extensions_dir) Compass.projectize(dir, pp) end end
# File lib/compass/configuration/defaults.rb, line 21 def default_fonts_dir File.join(top_level.css_dir, "fonts") end
# File lib/compass/configuration/defaults.rb, line 75 def default_fonts_path if (pp = top_level.project_path) && (dir = top_level.fonts_dir) Compass.projectize(dir, pp) end end
# File lib/compass/configuration/defaults.rb, line 104 def default_http_fonts_dir if fd = top_level.fonts_dir_without_default fd else "#{top_level.http_stylesheets_dir}/fonts" end end
# File lib/compass/configuration/defaults.rb, line 112 def default_http_fonts_path http_root_relative top_level.http_fonts_dir end
# File lib/compass/configuration/defaults.rb, line 88 def default_http_images_dir top_level.images_dir end
# File lib/compass/configuration/defaults.rb, line 92 def default_http_images_path http_root_relative top_level.http_images_dir end
# File lib/compass/configuration/defaults.rb, line 116 def default_http_javascripts_dir top_level.javascripts_dir end
# File lib/compass/configuration/defaults.rb, line 120 def default_http_javascripts_path http_root_relative top_level.http_javascripts_dir end
# File lib/compass/configuration/defaults.rb, line 96 def default_http_stylesheets_dir top_level.css_dir end
# File lib/compass/configuration/defaults.rb, line 100 def default_http_stylesheets_path http_root_relative top_level.http_stylesheets_dir end
# File lib/compass/configuration/defaults.rb, line 57 def default_images_path if (pp = top_level.project_path) && (dir = top_level.images_dir) Compass.projectize(dir, pp) end end
# File lib/compass/configuration/defaults.rb, line 63 def default_javascripts_path if (pp = top_level.project_path) && (dir = top_level.javascripts_dir) Compass.projectize(dir, pp) end end
# File lib/compass/configuration/defaults.rb, line 37 def default_line_comments top_level.environment == :development end
# File lib/compass/configuration/defaults.rb, line 29 def default_output_style if top_level.environment == :development :expanded else :compressed end end
# File lib/compass/configuration/defaults.rb, line 128 def default_preferred_syntax :scss end
# File lib/compass/configuration/defaults.rb, line 5 def default_project_path "." end
# File lib/compass/configuration/defaults.rb, line 9 def default_project_type :stand_alone end
# File lib/compass/configuration/defaults.rb, line 45 def default_sass_path if (pp = top_level.project_path) && (dir = top_level.sass_dir) Compass.projectize(dir, pp) end end
# File lib/compass/configuration/defaults.rb, line 132 def default_sprite_engine :chunky_png end
helper functions
# File lib/compass/configuration/defaults.rb, line 142 def http_join(*segments) segments.map do |segment| next unless segment segment = http_pathify(segment) segment[-1..-1] == "/" ? segment[0..-2] : segment end.join("/") end
# File lib/compass/configuration/defaults.rb, line 13 def http_path_without_default "/" end
Generated with the Darkfish Rdoc Generator 2.