class Solargraph::Parser::ParserGem::NodeProcessors::SendNode

def process_require

Returns:
  • (void) -
def process_require
  if node.children[2].is_a?(AST::Node) && node.children[2].type == :str
    path = node.children[2].children[0].to_s
    pins.push Pin::Reference::Require.new(get_node_location(node), path)
  end
end