Exception: FactoryError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- FactoryError
- Defined in:
- lib/pluginfactory.rb
Overview
An exception class for PluginFactory specific errors.
Instance Method Summary collapse
-
#initialize(*args) ⇒ FactoryError
constructor
A new instance of FactoryError.
Constructor Details
#initialize(*args) ⇒ FactoryError
Returns a new instance of FactoryError.
87 88 89 90 91 92 93 94 |
# File 'lib/pluginfactory.rb', line 87 def initialize( *args ) if ! args.empty? msg = args.collect {|a| a.to_s}.join super( msg ) else super( ) end end |