Exception: RDoc::Store::MissingFileError
- Defined in:
 - lib/rdoc/store.rb
 
Overview
Raised when a stored file for a class, module, page or method is missing.
Instance Attribute Summary collapse
- 
  
    
      #file  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The file the #name should be saved as.
 - 
  
    
      #name  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The name of the object the #file would be loaded from.
 - 
  
    
      #store  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The store the file should exist in.
 
Instance Method Summary collapse
- 
  
    
      #initialize(store, file, name)  ⇒ MissingFileError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
Creates a new MissingFileError for the missing
filefor the givennamethat should have been in thestore. - 
  
    
      #message  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
:nodoc:.
 
Constructor Details
#initialize(store, file, name) ⇒ MissingFileError
Creates a new MissingFileError for the missing file for the given name that should have been in the store.
      57 58 59 60 61  | 
    
      # File 'lib/rdoc/store.rb', line 57 def initialize store, file, name @store = store @file = file @name = name end  | 
  
Instance Attribute Details
#file ⇒ Object (readonly)
The file the #name should be saved as
      46 47 48  | 
    
      # File 'lib/rdoc/store.rb', line 46 def file @file end  | 
  
#name ⇒ Object (readonly)
The name of the object the #file would be loaded from
      51 52 53  | 
    
      # File 'lib/rdoc/store.rb', line 51 def name @name end  | 
  
#store ⇒ Object (readonly)
The store the file should exist in
      41 42 43  | 
    
      # File 'lib/rdoc/store.rb', line 41 def store @store end  | 
  
Instance Method Details
#message ⇒ Object
:nodoc:
      63 64 65  | 
    
      # File 'lib/rdoc/store.rb', line 63 def # :nodoc: "store at #{@store.path} missing file #{@file} for #{@name}" end  |