Class: Marko::Compiler
- Inherits:
-
Object
- Object
- Marko::Compiler
- Extended by:
- Pluggable
- Defined in:
- lib/marko/compiler.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods included from Pluggable
Instance Method Details
#call(tree, template, filename, &block) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/marko/compiler.rb', line 9 def call(tree, template, filename, &block) @tree = MustbeTreeNode.(tree) @template = MustbeString.(template) @filename = MustbeString.(filename) @block = block end |