module ActionView::RenderParser::RipperASTParser

def parse_render_nodes(code)

def parse_render_nodes(code)
  parser = RenderCallExtractor.new(code)
  parser.parse
  parser.render_calls.group_by(&:first).to_h do |method, nodes|
    [ method.to_sym, nodes.collect { |v| v[1] } ]
  end
end