Exception: ScrapCbf::MethodMissingError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/scrap_cbf/errors.rb

Overview

Raised when a method is not found on a class.

Instance Method Summary collapse

Constructor Details

#initialize(klass_name, method) ⇒ MethodMissingError

Returns a new instance of MethodMissingError.



46
47
48
49
# File 'lib/scrap_cbf/errors.rb', line 46

def initialize(klass_name, method)
  message = "method '#{method}' missing on class #{klass_name}"
  super(message)
end