Class: Rinda::TupleBag::TupleBin Private
- Inherits:
-
Object
- Object
- Rinda::TupleBag::TupleBin
- Defined in:
- lib/pione/patch/rinda-patch.rb
Overview
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.
TupleBin is original array based class.
Direct Known Subclasses
Instance Method Summary collapse
- #delete(tuple) ⇒ Object private
- #elements ⇒ Object private
- #size ⇒ Object private
Instance Method Details
#delete(tuple) ⇒ 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.
114 115 116 117 118 |
# File 'lib/pione/patch/rinda-patch.rb', line 114 def delete(tuple) if i = @bin.index(tuple) @bin.delete_at(i) end end |
#elements ⇒ 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.
106 107 108 |
# File 'lib/pione/patch/rinda-patch.rb', line 106 def elements @bin end |
#size ⇒ 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.
110 111 112 |
# File 'lib/pione/patch/rinda-patch.rb', line 110 def size elements.size end |