class Handlebars::Tree::Helper

Public Instance Methods

_eval(context) click to toggle source
# File lib/ruby-handlebars/tree.rb, line 51
def _eval(context)
  helper = context.get_helper(name.to_s)
  if helper.nil?
    context.get_helper('helperMissing').apply(context, String.new(name.to_s))
  else
    helper.apply(context, parameters, block, else_block)
  end
end