Class: BabyErubis::HtmlTemplate

Inherits:
Template
  • Object
show all
Defined in:
lib/baby_erubis.rb

Constant Summary

Constants inherited from Template

Template::FREEZE, Template::PATTERN

Instance Attribute Summary

Attributes inherited from Template

#src

Instance Method Summary collapse

Methods inherited from Template

#compile, #from_file, #from_str, #initialize, #parse, #pattern, #render

Constructor Details

This class inherits a constructor from BabyErubis::Template

Instance Method Details

#new_context(hash) ⇒ Object



199
200
201
# File 'lib/baby_erubis.rb', line 199

def new_context(hash)
  return HtmlTemplateContext.new(hash)
end