Class: MerbHandler

Inherits:
Object show all
Defined in:
lib/sass/plugin/merb.rb

Instance Method Summary collapse

Instance Method Details

#process_with_sass(request, response) ⇒ Object Also known as: process



44
45
46
47
48
49
50
51
# File 'lib/sass/plugin/merb.rb', line 44

def process_with_sass(request, response)
  if !Sass::Plugin.checked_for_updates ||
      Sass::Plugin.options[:always_update] || Sass::Plugin.options[:always_check]
    Sass::Plugin.update_stylesheets
  end

  process_without_sass(request, response)
end