Class: Markup::Template
- Inherits:
-
Liquid::Template
- Object
- Liquid::Template
- Markup::Template
- Defined in:
- lib/markup/template.rb
Overview
A very thin wrapper around Liquid::Template with TRMNL-specific functionality.
Class Method Summary collapse
Class Method Details
.parse ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/markup/template.rb', line 7 def self.parse(*) template = super # set up a temporary in-memory file system for custom user templates, via the magic :file_system register # which will override the default file system template.registers[:file_system] = InlineTemplatesFileSystem.new template end |