Exception: Ddenv::SubclassResponsibilityError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ddenv/subclass_responsibility_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(klass, method_name) ⇒ SubclassResponsibilityError

Returns a new instance of SubclassResponsibilityError.



5
6
7
# File 'lib/ddenv/subclass_responsibility_error.rb', line 5

def initialize(klass, method_name)
  super("Subclasses of #{klass} must implement the ##{method_name} method.")
end