class SimpleCov::StaticCoverageExtractor::Visitor
def constant_name(node)
always carry a constant_path in practice.
string. Defensive nil / to_s fallbacks: ClassNode and ModuleNode
Render a constant path (e.g., `Foo::Bar`) as its source-form
def constant_name(node) return "<anonymous>" if node.nil? return node.slice if node.respond_to?(:slice) node.to_s end