Exception: ScrapCbf::MethodMissingError
- Defined in:
- lib/scrap_cbf/errors.rb
Overview
Raised when a method is not found on a class.
Instance Method Summary collapse
-
#initialize(klass_name, method) ⇒ MethodMissingError
constructor
A new instance of MethodMissingError.
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) = "method '#{method}' missing on class #{klass_name}" super() end |