Exception: ScrapCbf::MissingArgumentError

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

Overview

Raised when a argument is required but it is missing.

Instance Method Summary collapse

Constructor Details

#initialize(argument) ⇒ MissingArgumentError



20
21
22
23
# File 'lib/scrap_cbf/errors.rb', line 20

def initialize(argument)
  message = "missing argument: #{argument}"
  super(message)
end