class Sass::Plugin::Rack

That’s all there is to it!
The locations and frequency {file:SASS_REFERENCE.md#options can be customized}.
and regenerated every request if necessary.
Your CSS will be generated in ‘public/stylesheets`,
Put your Sass files in `public/stylesheets/sass`.
## Use
{file:SASS_REFERENCE.md#options See the Reference for more options}.
:full_exception => environment != :production)
:never_update => environment != :production,
:cache_location => ’./tmp/sass-cache’,
Sass::Plugin.options.merge(
## Customize
use Sass::Plugin::Rack
require ‘sass/plugin/rack’
## Activate
Rack middleware for compiling Sass code.

def call(env)

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

Parameters:
  • env () -- The Rack request environment
def call(env)
  Sass::Plugin.check_for_updates
  @app.call(env)
end

def initialize(app)

Parameters:
  • app (#call) -- The Rack application
def initialize(app)
  @app = app
end