Exception: Abstractify::AbstractMethodError
- Inherits:
-
AbstractError
- Object
- StandardError
- AbstractError
- Abstractify::AbstractMethodError
- Defined in:
- lib/abstractify/abstract.rb
Direct Known Subclasses
AbstractMethodMustExistError, AbstractMethodMustOverrideError
Instance Method Summary collapse
-
#initialize(msg = "Can't instantiate abstract class because some of its abstract methods have not been defined") ⇒ AbstractMethodError
constructor
A new instance of AbstractMethodError.
Constructor Details
#initialize(msg = "Can't instantiate abstract class because some of its abstract methods have not been defined") ⇒ AbstractMethodError
Returns a new instance of AbstractMethodError.
15 16 17 |
# File 'lib/abstractify/abstract.rb', line 15 def initialize(msg="Can't instantiate abstract class because some of its abstract methods have not been defined") super end |