5 6 7 8 9 10 11 12 13
# File 'lib/arbo/rails/rendering.rb', line 5 def render(*args) rendered = helpers.render(*args) case rendered when Arbo::Context current_arbo_element.add_child rendered else text_node rendered end end