Exception: Abstractify::AbstractMethodError

Inherits:
AbstractError
  • Object
show all
Defined in:
lib/abstractify/abstract.rb

Instance Method Summary collapse

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