class ActionView::RenderParser::RipperASTParser::Node
def hash_from_body(body)
def hash_from_body(body) body.to_h do |hash_node| return nil if hash_node.type != :assoc_new [hash_node[0], hash_node[1]] end end
def hash_from_body(body) body.to_h do |hash_node| return nil if hash_node.type != :assoc_new [hash_node[0], hash_node[1]] end end