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).collect do |method, nodes|
    [ method.to_sym, nodes.collect { |v| v[1] } ]
  end.to_h
end