Source: show | on GitHub
# File actionview/test/template/erb/helper.rb, line 20 def block_helper(str, rest) "<%= #{str} do %>#{rest}<% end %>" end
# File actionview/test/template/erb/helper.rb, line 15 def render_content(start, inside) template = block_helper(start, inside) ActionView::Template::Handlers::Erubis.new(template).evaluate(ViewContext.new) end