Sha256: e853435c8eb90d1e82d1d256321b1f62f88ba000f142d7771771197005173c6f

Contents?: true

Size: 299 Bytes

Versions: 10

Compression:

Stored size: 299 Bytes

Contents

--HAML--
- try
  = foo()
- catch(\Exception $e)
  bar
--FILE--
<?php
$env = new MtHaml\Environment('php', array('enable_escaper' => false));
echo $env->compileString($parts['HAML'], "$file.haml");

--EXPECT--
<?php try { ?>
  <?php echo foo(); ?>
<?php } catch(\Exception $e) { ?>
  bar
<?php } ?>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
guard-mthaml-0.4.0 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/try_catch_php.test
guard-mthaml-0.3.1 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/try_catch_php.test
guard-mthaml-0.3.0 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/try_catch_php.test
guard-mthaml-0.2.5 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/try_catch_php.test
guard-mthaml-0.2.4 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/try_catch_php.test
guard-mthaml-0.2.3 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/try_catch_php.test
guard-mthaml-0.2.2 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/try_catch_php.test
guard-mthaml-0.2.1 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/try_catch_php.test
guard-mthaml-0.2.0 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/try_catch_php.test
guard-mthaml-0.1.0 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/try_catch_php.test