module Sass::Plugin

def check_for_updates

Other tags:
    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

Returns:
  • (Sass::Plugin::Compiler) -
def compiler
  @compiler ||= Compiler.new
end

def force_update_stylesheets(individual_files = [])

Other tags:
    See: #update_stylesheets -

Parameters:
  • individual_files (Array<(String, String)>) --
def force_update_stylesheets(individual_files = [])
  Compiler.new(
    options.dup.merge(
      :never_update => false,
      :always_update => true,
      :cache => false)).update_stylesheets(individual_files)
end

def method_missing(method, *args, &block)

Other tags:
    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

There's a small speedup by not using method missing for frequently delegated methods.
def options
  compiler.options
end

def respond_to?(method)

For parity with method_missing
def respond_to?(method)
  super || compiler.respond_to?(method)
end

def update_stylesheets(individual_files = [])

Parameters:
  • individual_files (Array<(String, String)>) --
def update_stylesheets(individual_files = [])
  return if options[:never_update]
  compiler.update_stylesheets(individual_files)
end