Exception: Ruber::ComponentManager::InvalidPDF

Inherits:
StandardError
  • Object
show all
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 <tt>Ruber::ComponentManager::PluginSpecification::PSFError</tt> only
in the fact that it contains the list of files which produced an error.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(files) ⇒ InvalidPDF

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

#filesObject (readonly)

An array containing the files which produced errors



409
410
411
# File 'lib/ruber/component_manager.rb', line 409

def files
  @files
end