method
register_template_handler
v4.0.2 -
Show latest stable
- Class:
ActionView::Template::Handlers
register_template_handler(*extensions, handler)public
Register an object that knows how to handle template files with the given extensions. This can be used to implement new template types. The handler must respond to `:call`, which will be passed the template and should return the rendered template as a String.