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
file
for the givenname
that 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
.
56 57 58 59 60 |
# File 'lib/rdoc/store.rb', line 56 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
45 46 47 |
# File 'lib/rdoc/store.rb', line 45 def file @file end |
#name ⇒ Object (readonly)
The name of the object the #file would be loaded from
50 51 52 |
# File 'lib/rdoc/store.rb', line 50 def name @name end |
#store ⇒ Object (readonly)
The store the file should exist in
40 41 42 |
# File 'lib/rdoc/store.rb', line 40 def store @store end |
Instance Method Details
#message ⇒ Object
:nodoc:
62 63 64 |
# File 'lib/rdoc/store.rb', line 62 def # :nodoc: "store at #{@store.path} missing file #{@file} for #{@name}" end |