class Handlebars::Tree::AsHelper
Public Instance Methods
_eval(context)
click to toggle source
# File lib/ruby-handlebars/tree.rb, line 62 def _eval(context) helper = context.get_as_helper(name.to_s) if helper.nil? context.get_helper('helperMissing').apply(context, String.new(name.to_s)) else helper.apply_as(context, parameters, as_parameters, block, else_block) end end