class Sprockets::SassProcessor
def initialize(options = {}, &block)
change after code changes are made to Sass Functions.
cache_version - String custom cache version. Used to force a cache
options - Hash
Public: Initialize template with custom options.
def initialize(options = {}, &block) @cache_version = options[:cache_version] @cache_key = "#{self.class.name}:#{VERSION}:#{Autoload::Sass::VERSION}:#{@cache_version}".freeze @importer_class = options[:importer] || Sass::Importers::Filesystem @sass_config = options[:sass_config] || {} @functions = Module.new do include Functions include options[:functions] if options[:functions] class_eval(&block) if block_given? end end