Sha256: 95c79742b91ea87726d7e034a5fb283aa30578710b497298de7d232d61964a32
Contents?: true
Size: 709 Bytes
Versions: 7
Compression:
Stored size: 709 Bytes
Contents
module Rbexy class Configuration attr_accessor :element_resolver attr_accessor :template_paths attr_accessor :enable_context attr_accessor :debug attr_accessor :component_rendering_templates attr_accessor :transforms def template_paths @template_paths ||= [] end def element_resolver @element_resolver ||= ComponentResolver.new end def transforms @transforms ||= ASTTransformer.new end def component_rendering_templates @component_rendering_templates ||= { children: "{capture{%{children}}}", component: "::%{component_class}.new(%{view_context},%{kwargs}).render_in%{children_block}" } end end end
Version data entries
7 entries across 7 versions & 1 rubygems