Module: Compass::Configuration::Comments

Defined in:
lib/compass/configuration/comments.rb

Overview

Comments are emitted into the configuration file when serialized and make it easier to understand for new users.

Instance Method Summary collapse

Instance Method Details

#comment_for_http_pathObject



6
7
8
# File 'lib/compass/configuration/comments.rb', line 6

def comment_for_http_path
  "# Set this to the root of your project when deployed:\n"
end

#comment_for_relative_assetsObject



10
11
12
13
14
15
16
17
18
# File 'lib/compass/configuration/comments.rb', line 10

def comment_for_relative_assets
  unless relative_assets
    %q{# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true
}
  else
    ""
  end
end