NAME

Mojolicious::Plugin::AssetPack::Preprocessor::Sass - Preprocessor for sass

DESCRIPTION

Mojolicious::Plugin::AssetPack::Preprocessor::Sass is a preprocessor for .sass files.

Sass makes CSS fun again. Sass is an extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more. See http://sass-lang.com for more information. Supports both *.scss and *.sass syntax variants.

Installation on Ubuntu and Debian:

  $ sudo apt-get install rubygems
  $ sudo gem install sass

ATTRIBUTES

executable

  $path = $self->executable;

Holds the path to the "sass" executable. Default to just "sass".

METHODS

can_process

Returns true if "executable" points to an actual file.

checksum

Returns the checksum for the given $text, but also checks for any @import statements and includes those files in the checksum.

See "process" in Mojolicious::Plugin::AssetPack::Preprocessor.

process

This method use "sass" to process $text.

See "process" in Mojolicious::Plugin::AssetPack::Preprocessor.

COPYRIGHT AND LICENSE

Copyright (C) 2014, Jan Henning Thorsen

This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.

AUTHOR

Jan Henning Thorsen - jhthorsen@cpan.org