Exception: Excavator::MissingParamsError
- Inherits:
-
ExcavatorError
- Object
- StandardError
- ExcavatorError
- Excavator::MissingParamsError
- Defined in:
- lib/excavator.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(params) ⇒ MissingParamsError
constructor
A new instance of MissingParamsError.
Constructor Details
#initialize(params) ⇒ MissingParamsError
Returns a new instance of MissingParamsError.
12 13 14 15 |
# File 'lib/excavator.rb', line 12 def initialize(params) @params = params super "Missing parameters: #{params.join(", ")}." end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
11 12 13 |
# File 'lib/excavator.rb', line 11 def params @params end |