# File lib/compass/configuration.rb, line 52 def self.add_configuration_property(name, comment = nil, &default) ATTRIBUTES << name if comment.is_a?(String) unless comment[0..0] == "#" comment = "# #{comment}" end unless comment[-1..-1] == "\n" comment = comment + "\n" end Data.class_eval "def comment_for_\#{name}\n\#{comment.inspect}\nend\n" end Data.send(:define_method, "default_#{name}""default_#{name}", &default) if default Data.inherited_accessor(name) if name.to_s =~ /dir|path/ strip_trailing_separator(name) end end