Exception: Scientist::BehaviorNotUnique
- Inherits:
-
BadBehavior
- Object
- StandardError
- BadBehavior
- Scientist::BehaviorNotUnique
- Defined in:
- lib/scientist/errors.rb
Instance Attribute Summary
Attributes inherited from BadBehavior
Instance Method Summary collapse
-
#initialize(experiment, name) ⇒ BehaviorNotUnique
constructor
A new instance of BehaviorNotUnique.
Constructor Details
#initialize(experiment, name) ⇒ BehaviorNotUnique
Returns a new instance of BehaviorNotUnique.
24 25 26 27 |
# File 'lib/scientist/errors.rb', line 24 def initialize(experiment, name) super experiment, name, "#{experiment.name} already has #{name} behavior" end |