Sha256: ef4dd6dafe49e037d88c0ab0f1ae968a7e07c1b1ca4efb391ddcc90175ba0dfb

Contents?: true

Size: 326 Bytes

Versions: 10

Compression:

Stored size: 326 Bytes

Contents

<?php

namespace MtHaml\Filter\Less;

use MtHaml\Filter\Less;

class LeafoLess extends Less
{
    private $less;

    public function __construct(\lessc $less)
    {
        $this->less = $less;
    }

    public function getCss($content, array $context, $options)
    {
        return $this->less->compile($content);
    }
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
guard-mthaml-0.4.0 vendor/mthaml/mthaml/lib/MtHaml/Filter/Less/LeafoLess.php
guard-mthaml-0.3.1 vendor/mthaml/mthaml/lib/MtHaml/Filter/Less/LeafoLess.php
guard-mthaml-0.3.0 vendor/mthaml/mthaml/lib/MtHaml/Filter/Less/LeafoLess.php
guard-mthaml-0.2.5 vendor/mthaml/mthaml/lib/MtHaml/Filter/Less/LeafoLess.php
guard-mthaml-0.2.4 vendor/mthaml/mthaml/lib/MtHaml/Filter/Less/LeafoLess.php
guard-mthaml-0.2.3 vendor/mthaml/mthaml/lib/MtHaml/Filter/Less/LeafoLess.php
guard-mthaml-0.2.2 vendor/mthaml/mthaml/lib/MtHaml/Filter/Less/LeafoLess.php
guard-mthaml-0.2.1 vendor/mthaml/mthaml/lib/MtHaml/Filter/Less/LeafoLess.php
guard-mthaml-0.2.0 vendor/mthaml/mthaml/lib/MtHaml/Filter/Less/LeafoLess.php
guard-mthaml-0.1.0 vendor/mthaml/mthaml/lib/MtHaml/Filter/Less/LeafoLess.php