Exception: Integrative::Errors::MethodAlreadyExistsError
- Inherits:
-
IntegratorError
- Object
- StandardError
- IntegratorError
- Integrative::Errors::MethodAlreadyExistsError
- Defined in:
- lib/integrative/errors.rb
Instance Attribute Summary
Attributes inherited from IntegratorError
Instance Method Summary collapse
-
#initialize(integrator, name) ⇒ MethodAlreadyExistsError
constructor
A new instance of MethodAlreadyExistsError.
Constructor Details
#initialize(integrator, name) ⇒ MethodAlreadyExistsError
Returns a new instance of MethodAlreadyExistsError.
59 60 61 62 63 |
# File 'lib/integrative/errors.rb', line 59 def initialize(integrator, name) = "Method '#{name}' is already defined on #{integrator.name}." + " You can not define integration with this name." super(, integrator) end |