Exception: JSparrow::Error::AbstractMethodError
- Inherits:
-
StandardError
- Object
- StandardError
- JSparrow::Error::AbstractMethodError
- Defined in:
- lib/error.rb
Instance Method Summary collapse
-
#initialize(class_name, method_name) ⇒ AbstractMethodError
constructor
A new instance of AbstractMethodError.
Constructor Details
#initialize(class_name, method_name) ⇒ AbstractMethodError
Returns a new instance of AbstractMethodError.
4 5 6 |
# File 'lib/error.rb', line 4 def initialize(class_name, method_name) super("The '#{class_name}##{method_name}' is a abstract method. Definition is a subclass responsibility.") end |