Class: Relaton::Render::Template::Extent

Inherits:
General
  • Object
show all
Defined in:
lib/relaton/render/template/template.rb

Constant Summary

Constants inherited from General

General::FIELD_DELIM, General::GT_DELIM, General::LT_DELIM, General::NON_SPACING_DELIM

Instance Attribute Summary

Attributes inherited from General

#template_raw

Instance Method Summary collapse

Methods inherited from General

#add_field_delim_to_template, #customise_liquid, #initialize, #liquid_hash, #parse_options, #punct_field?, #render, #template_clean, #template_clean1, #template_process

Constructor Details

This class inherits a constructor from Relaton::Render::Template::General

Instance Method Details

#template_select(hash) ⇒ Object



158
159
160
# File 'lib/relaton/render/template/template.rb', line 158

def template_select(hash)
  @template[hash[:type].to_sym]
end