class RDoc::RI::Driver::NotFoundError
def initialize(klass, suggestion_proc = nil) # :nodoc:
def initialize(klass, suggestion_proc = nil) # :nodoc: @klass = klass @suggestion_proc = suggestion_proc end
def message # :nodoc:
def message # :nodoc: str = "Nothing known about #{@klass}" suggestions = @suggestion_proc&.call if suggestions and !suggestions.empty? str += "\nDid you mean? #{suggestions.join("\n ")}" end str end
def name
def name @klass end