Exception: Shhh::Errors::AbstractMethodCalled
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Shhh::Errors::AbstractMethodCalled
- 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
-
#initialize(method, message = nil) ⇒ AbstractMethodCalled
constructor
A new instance of AbstractMethodCalled.
Constructor Details
#initialize(method, message = nil) ⇒ AbstractMethodCalled
Returns a new instance of AbstractMethodCalled.
30 31 32 |
# File 'lib/shhh/errors.rb', line 30 def initialize(method, = nil) super("Abstract method call, on #{method}" + ( || '')) end |