Exception: Shhh::Errors::AbstractMethodCalled

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/shhh/errors.rb

Overview

Method was called on an abstract class. Override such methods in subclasses, and use subclasses for instantiation of objects.

Instance Method Summary collapse

Constructor Details

#initialize(method, message = nil) ⇒ AbstractMethodCalled


21
22
23
# File 'lib/shhh/errors.rb', line 21

def initialize(method, message = nil)
  super("Abstract method call, on #{method}" + (message || ''))
end