Exception: Scientist::BehaviorMissing

Inherits:
BadBehavior
  • Object
show all
Defined in:
lib/scientist/errors.rb

Instance Attribute Summary

Attributes inherited from BadBehavior

#experiment, #name

Instance Method Summary collapse

Constructor Details

#initialize(experiment, name) ⇒ BehaviorMissing

Returns a new instance of BehaviorMissing.



17
18
19
20
# File 'lib/scientist/errors.rb', line 17

def initialize(experiment, name)
  super experiment, name,
    "#{experiment.name} missing #{name} behavior"
end