Object
# 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
# File lib/compass/frameworks.rb, line 31 def manifest(pattern, options = {}) options[:pattern_name] ||= pattern Compass::Installers::Manifest.new(manifest_file(pattern), options) end
Generated with the Darkfish Rdoc Generator 2.