Class: Merb::Rack::Application

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#call_with_sass(env) ⇒ Object Also known as: call



28
29
30
31
32
33
34
35
# File 'lib/sass/plugin/merb.rb', line 28

def call_with_sass(env)
  if !Sass::Plugin.checked_for_updates ||
      Sass::Plugin.options[:always_update] || Sass::Plugin.options[:always_check]
    Sass::Plugin.update_stylesheets
  end

  call_without_sass(env)
end