Skip to content

Instantly share code, notes, and snippets.

@merbjedi
Created March 10, 2010 22:48
Show Gist options
  • Save merbjedi/328551 to your computer and use it in GitHub Desktop.
Save merbjedi/328551 to your computer and use it in GitHub Desktop.
template_location = options[:template_location]
if template_location.is_a?(Hash) || template_location.is_a?(Array)
options[:template_location] = template_location.to_a.map do |input, output|
[input, css_location(input)]
end
else
default_location = File.join(options[:css_location], "sass")
options[:template_location] = {default_location => File.expand_path(css_location(default_location), '..'))}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment