Mojolicious::Plugin::AssetPack::Preprocessor - Base class for preprocessors
Mojolicious::Plugin::AssetPack::Preprocessor is a base class for preprocessors.
Path to the current directory, before Mojolicious::Plugin::AssetPack::Preprocessor did any
$bool = $self->can_process;
$str = $self->checksum($text, $path);
Returns the checksum for a given chunk of
$text is a scalar ref containing the text from the asset. The default is to use "md5_sum" in Mojo::Util.
$self = $self->process($assetpack, $text, $path);
This method is used to process a given
$text is a scalar ref, holding the text from the asset at location
$assetpack is an Mojolicious::Plugin::AssetPack instance.
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.
Jan Henning Thorsen -