Exception: AbstractMethodError

Inherits:
NoMethodError
  • Object
show all
Defined in:
lib/moon/packages/std/err/abstract_method_error.rb

Overview

An error raised from an abstract method call (see Module#abstract)

Instance Method Summary collapse

Constructor Details

#initialize(method) ⇒ AbstractMethodError

Returns a new instance of AbstractMethodError.

Parameters:


5
6
7
# File 'lib/moon/packages/std/err/abstract_method_error.rb', line 5

def initialize(method)
  super "abstract method #{method} was called"
end