From b2c403711ba0811e8395885f0039d2127f7c7113 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Fri, 8 May 2009 07:56:36 -0700 Subject: [PATCH] Return arguments from the configuration suitable for passing to the compass compiler. --- lib/compass/configuration.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/compass/configuration.rb b/lib/compass/configuration.rb index 27b5fc46..62fb463d 100644 --- a/lib/compass/configuration.rb +++ b/lib/compass/configuration.rb @@ -142,6 +142,10 @@ module Compass %Q(#{prop} = #{value.inspect}\n) end + def to_compiler_arguments(additional_options) + [project_path, sass_path, css_path, to_sass_engine_options.merge(additional_options)] + end + def to_sass_plugin_options locations = {} locations[sass_path] = css_path if sass_path && css_path