Exception: Verdict::ExperimentHandleNotUnique

Inherits:
Error
  • Object
show all
Defined in:
lib/verdict.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#handleObject (readonly)

Returns the value of attribute handle.



33
34
35
# File 'lib/verdict.rb', line 33

def handle
  @handle
end