Exception: Dry::Initializer::Errors::RedefinitionError
- Inherits:
-
SyntaxError
- Object
- SyntaxError
- Dry::Initializer::Errors::RedefinitionError
- Defined in:
- lib/dry/initializer/errors/redefinition_error.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ RedefinitionError
constructor
A new instance of RedefinitionError.
Constructor Details
#initialize(name) ⇒ RedefinitionError
Returns a new instance of RedefinitionError.
2 3 4 |
# File 'lib/dry/initializer/errors/redefinition_error.rb', line 2 def initialize(name) super "The argument '#{name}' is already defined." end |