123456789_123456789_123456789_123456789_123456789_

Exception: RDoc::Store::MissingFileError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Error, ::RDoc::Error, RuntimeError
Instance Chain:
self, Error, ::RDoc::Error, RuntimeError
Inherits: RDoc::Store::Error
Defined in: lib/rdoc/store.rb

Overview

Raised when a stored file for a class, module, page or method is missing.

Class Method Summary

Instance Attribute Summary

  • #file readonly

    The file the #name should be saved as.

  • #name readonly

    The name of the object the #file would be loaded from.

  • #store readonly

    The store the file should exist in.

Instance Method Summary

Constructor Details

.new(store, file, name) ⇒ MissingFileError

Creates a new MissingFileError for the missing #file for the given #name that should have been in the #store.

[ GitHub ]

  
# File 'lib/rdoc/store.rb', line 57

def initialize store, file, name
  @store = store
  @file  = file
  @name  = name
end

Instance Attribute Details

#file (readonly)

The file the #name should be saved as

[ GitHub ]

  
# File 'lib/rdoc/store.rb', line 46

attr_reader :file

#name (readonly)

The name of the object the #file would be loaded from

[ GitHub ]

  
# File 'lib/rdoc/store.rb', line 51

attr_reader :name

#store (readonly)

The store the file should exist in

[ GitHub ]

  
# File 'lib/rdoc/store.rb', line 41

attr_reader :store

Instance Method Details

#message

This method is for internal use only.
[ GitHub ]

  
# File 'lib/rdoc/store.rb', line 63

def message # :nodoc:
  "store at #{@store.path} missing file #{@file} for #{@name}"
end