Class: MerbHandler

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

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



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

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