Make the generated configuration file a little more readable.

This commit is contained in:
Chris Eppstein 2011-04-24 20:04:03 -07:00
parent 4957774e49
commit 28ccff0fba

View File

@ -50,6 +50,7 @@ module Compass
$stderr.puts "WARNING: #{prop} is code and cannot be written to a file. You'll need to copy it yourself."
end
if respond_to?("comment_for_#{prop}")
contents << "\n"
contents << send("comment_for_#{prop}")
end
if block_given? && (to_emit = yield(prop, value))