Exception: Verdict::ExperimentHandleNotUnique
- Defined in:
- lib/verdict.rb
Instance Attribute Summary collapse
-
#handle ⇒ Object
readonly
Returns the value of attribute handle.
Instance Method Summary collapse
-
#initialize(handle) ⇒ ExperimentHandleNotUnique
constructor
A new instance of ExperimentHandleNotUnique.
Constructor Details
#initialize(handle) ⇒ ExperimentHandleNotUnique
Returns a new instance of ExperimentHandleNotUnique.
35 36 37 38 |
# File 'lib/verdict.rb', line 35 def initialize(handle) @handle = handle super("Another experiment with handle #{handle.inspect} is already defined!") end |
Instance Attribute Details
#handle ⇒ Object (readonly)
Returns the value of attribute handle.
33 34 35 |
# File 'lib/verdict.rb', line 33 def handle @handle end |