Exception: Rinda::RedundantTupleError Private

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pione/patch/rinda-patch.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Constructor Details

#initialize(tuple) ⇒ RedundantTupleError

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of RedundantTupleError.



4
5
6
# File 'lib/pione/patch/rinda-patch.rb', line 4

def initialize(tuple)
  @tuple = tuple
end

Instance Method Details

#inspectObject Also known as: to_s

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



12
13
14
# File 'lib/pione/patch/rinda-patch.rb', line 12

def inspect
  "#<Rinda::RedundantTupleError @tuple=%s>" % @tuple.inspect
end

#messageObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



8
9
10
# File 'lib/pione/patch/rinda-patch.rb', line 8

def message
  "Try to write redundant tuple in tuple space: %s" % @tuple.inspect
end