Sha256: 9ab431b7c1f2cc0f5abd5a7125a549dd702383caef73364cbd6281c8c79c2485
Contents?: true
Size: 265 Bytes
Versions: 5
Compression:
Stored size: 265 Bytes
Contents
module Arbre module Rails class TemplateHandler def call(template) "Arbre::Context.new(assigns, self){ #{template.source} }" end end end end ActionView::Template.register_template_handler :arb, Arbre::Rails::TemplateHandler.new
Version data entries
5 entries across 5 versions & 1 rubygems