Exception: AbstractClassError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/filigree/abstract_class.rb

Overview

An error representing an erroneous instantiation of an abstract class.

Instance Method Summary collapse

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