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.
40 41 42 43 |
# File 'lib/verdict.rb', line 40 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.
38 39 40 |
# File 'lib/verdict.rb', line 38 def handle @handle end |