a guest Apr 17th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- class RbTemplateHandler < ActionView::TemplateHandler
- include ActionView::TemplateHandlers::Compilable if defined?(ActionView::TemplateHandlers::Compilable)
- def compile(template)
- ActionView::Template.register_template_handler(:rb, RbTemplateHandler)
RAW Paste Data