EEx2Slime

Script for converting EEx templates to Slime. Slime is a lightweight template language.

Usage

You may convert files using the included executable eex2slime.

# eex2slime -h

Usage: eex2slime INPUT_FILENAME_OR_DIRECTORY [OUTPUT_FILENAME_OR_DIRECTORY] [options]
        --trace                      Show a full traceback on error
    -d, --delete                     Delete EEx files
    -h, --help                       Show this message
    -v, --version                    Print version

Alternatively, to convert files or strings on the fly in your application, you may do so by calling EEx2Slime.convert!(file).

Installation

gem install eex2slime

Regards

Huge thanks to Maiz Lulkin and his original html2slim repo.