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, file_extension, #file_read, #file_type, #parse_type_from_data, #refile, register, #render, #render_into, #rendering_parameters, #scope_vs_data, #subtype, #text, #to, #to_default, #to_s, #type, #with, #with!

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