Exception: Ruber::ComponentManager::InvalidPDF
- Inherits:
-
StandardError
- Object
- StandardError
- Ruber::ComponentManager::InvalidPDF
- Defined in:
- lib/ruber/component_manager.rb
Overview
Exception raised when some of the PDFs for the plugins to be loaded contain error. It differs from Ruber::ComponentManager::PluginSpecification::PSFError only in the fact that it contains the list of files which produced an error.
Instance Attribute Summary (collapse)
-
- (Object) files
readonly
An array containing the files which produced errors.
Instance Method Summary (collapse)
-
- (InvalidPDF) initialize(files)
constructor
Creates a new instance.
Constructor Details
- (InvalidPDF) initialize(files)
Creates a new instance. files is an array containing the names of the files which produced errors.
413 414 415 416 |
# File 'lib/ruber/component_manager.rb', line 413 def initialize files @files = files.dup super "The following plugin description files contained errors: #{files.join ' '}" end |
Instance Attribute Details
- (Object) files (readonly)
An array containing the files which produced errors
409 410 411 |
# File 'lib/ruber/component_manager.rb', line 409 def files @files end |