module Haml::Util

def av_template_class(name)

Parameters:
  • name (#to_s) -- The name of the class to get.
def av_template_class(name)
  return ActionView.const_get("Template#{name}") if ActionView.const_defined?("Template#{name}")
  return ActionView::Template.const_get(name.to_s)
end