Exception: Rinda::RedundantTupleError Private
- Inherits:
-
StandardError
- Object
- StandardError
- Rinda::RedundantTupleError
- 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
-
#initialize(tuple) ⇒ RedundantTupleError
constructor
private
A new instance of RedundantTupleError.
- #inspect ⇒ Object (also: #to_s) private
- #message ⇒ Object private
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
#inspect ⇒ Object 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 |
#message ⇒ Object
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 "Try to write redundant tuple in tuple space: %s" % @tuple.inspect end |