Exception: RDoc::RI::Driver::NotFoundError
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: | |
| Instance Chain: | |
| Inherits: | RDoc::RI::Driver::Error 
 | 
| Defined in: | lib/rdoc/ri/driver.rb | 
Overview
Raised when a name isn’t found in the ri data stores
Class Method Summary
- .new(klass, suggestions = nil) ⇒ NotFoundError constructor Internal use only
Instance Method Summary
Constructor Details
    .new(klass, suggestions = nil)  ⇒ NotFoundError 
  
  
    This method is for internal use only.
  
# File 'lib/rdoc/ri/driver.rb', line 50
def initialize(klass, suggestions = nil) # :nodoc: @klass = klass @suggestions = suggestions end
Instance Method Details
#message
    This method is for internal use only.
  
  [ GitHub ]
# File 'lib/rdoc/ri/driver.rb', line 62
def # :nodoc: str = "Nothing known about #{@klass}" if @suggestions and !@suggestions.empty? str += "\nDid you mean? #{@suggestions.join("\n ")}" end str end
#name
Name that wasn’t found
# File 'lib/rdoc/ri/driver.rb', line 58
def name @klass end