class Sass::Plugin::Rack

def call(env)

Returns:
  • ((#to_i, {String => String}, Object)) - The Rack response

Parameters:
  • env () -- The Rack request environment
def call(env)
  if @dwell.nil? || Time.now.to_f > @check_after
    Sass::Plugin.check_for_updates
    @check_after = Time.now.to_f + @dwell if @dwell
  end
  @app.call(env)
end