Class: Malt::Format::Liquid

Inherits:
AbstractTemplate show all
Defined in:
lib/malt/formats/liquid.rb

Overview

Liquid templates

http://liquid.rubyforge.org/

Instance Attribute Summary

Attributes inherited from Abstract

#options

Instance Method Summary collapse

Methods inherited from AbstractTemplate

#method_missing, #render, #to

Methods inherited from Abstract

#default, #engine, engine, extensions, #extensions, #file, #parse_type_and_data, #refile, register, #render, #subtype, #text, #to, #to_default, #to_s, #type

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Malt::Format::AbstractTemplate

Instance Method Details

#liquidObject



15
16
17
# File 'lib/malt/formats/liquid.rb', line 15

def liquid(*)
  text
end

#to_liquidObject



20
21
22
# File 'lib/malt/formats/liquid.rb', line 20

def to_liquid(*)
  self
end