Sha256: f8ed73aaa6f7fe73a1733f31dfd5c46ed837fe5e53f8c2fb40a9151b38d4d18b
Contents?: true
Size: 344 Bytes
Versions: 1
Compression:
Stored size: 344 Bytes
Contents
# frozen_string_literal: true module Arbre module Rails module Rendering def render(*args, &block) rendered = helpers.render(*args, &block) case rendered when Arbre::Context current_arbre_element.add_child rendered else text_node rendered end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
arbre-2.1.0 | lib/arbre/rails/rendering.rb |