class RDoc::Parser::PrismRuby::RDocVisitor
def visit_constant_write_node(node)
def visit_constant_write_node(node) @scanner.process_comments_until(node.location.start_line - 1) @scanner.add_constant( node.name.to_s, constant_path_string(node.value) || node.value.slice, node.location.start_line, node.location.end_line ) @scanner.skip_comments_until(node.location.end_line) # Do not traverse rhs not to document `A = Struct.new{def undocumentable_method; end}` end