Exception: AbstractClassError
- Defined in:
- lib/filigree/abstract_class.rb
Overview
An error representing an erroneous instantiation of an abstract class.
Instance Method Summary collapse
-
#initialize(class_name) ⇒ AbstractClassError
constructor
A new instance of AbstractClassError.
Constructor Details
#initialize(class_name) ⇒ AbstractClassError
Returns a new instance of AbstractClassError.
20 21 22 |
# File 'lib/filigree/abstract_class.rb', line 20 def initialize(class_name) super "Instantiating abstract class #{class_name} is not allowed." end |