# File lib/compass/frameworks.rb, line 12 def initialize(name, *arguments) options = arguments.last.is_a?(Hash) ? arguments.pop : {} self.path = path = options[:path] || arguments.shift @name = name @templates_directory = options[:templates_directory] @templates_directory ||= File.join(path, 'templates') if path @stylesheets_directory = options[:stylesheets_directory] @stylesheets_directory ||= File.join(path, 'stylesheets') if path end