Sha256: f4ca9b1c4d6fd4c5f88d150e2a911b10271dc30104113f03c1561fc76b94835f
Contents?: true
Size: 434 Bytes
Versions: 10
Compression:
Stored size: 434 Bytes
Contents
<?php namespace MtHaml\Filter; use MtHaml\NodeVisitor\RendererAbstract as Renderer; use MtHaml\Node\Filter; class Preserve extends Plain { public function optimize(Renderer $renderer, Filter $filter, $options) { $renderer->pushSavedIndent($renderer->getIndent()); $renderer->setIndent(0); $this->renderFilter($renderer, $filter); $renderer->setIndent($renderer->popSavedIndent()); } }
Version data entries
10 entries across 10 versions & 1 rubygems