module Sass::Plugin
def check_for_updates
- See: #update_stylesheets -
def check_for_updates return unless !Sass::Plugin.checked_for_updates || Sass::Plugin.options[:always_update] || Sass::Plugin.options[:always_check] update_stylesheets end
def compiler
-
(Sass::Plugin::Compiler)
-
def compiler @compiler ||= Compiler.new end
def force_update_stylesheets(individual_files = [])
- See: #update_stylesheets -
Parameters:
-
individual_files
(Array<(String, String)>
) --
def force_update_stylesheets(individual_files = []) old_options = options self.options = options.dup options[:never_update] = false options[:always_update] = true options[:cache] = false update_stylesheets(individual_files) ensure self.options = old_options end
def method_missing(method, *args, &block)
- See: Sass::Plugin::Compiler -
See: #compiler -
def method_missing(method, *args, &block) if compiler.respond_to?(method) compiler.send(method, *args, &block) else super end end
def options
def options compiler.options end
def respond_to?(method)
def respond_to?(method) super || compiler.respond_to?(method) end
def update_stylesheets(individual_files = [])
-
individual_files
(Array<(String, String)>
) --
def update_stylesheets(individual_files = []) return if options[:never_update] compiler.update_stylesheets(individual_files) end