class BabyErubis::HtmlTemplate
Public Instance Methods
new_context(hash)
click to toggle source
# File lib/baby_erubis.rb, line 198 def new_context(hash) return HtmlTemplateContext.new(hash) end
Protected Instance Methods
escaped_expr(code)
click to toggle source
# File lib/baby_erubis.rb, line 193 def escaped_expr(code) return "escape(#{code})" # escape() is defined in HtmlTemplateContext end