Class: Yk::EMSet::Iterator
- Inherits:
-
Object
- Object
- Yk::EMSet::Iterator
- Defined in:
- for_yard_product.rb
Overview
Iterator class, pointing an element in container
Instance Method Summary collapse
-
#!= ⇒ Object
compare for unequivalence of positions.
-
#==(arg) ⇒ Object
compare for equivalence of positions.
-
#dec ⇒ EMSet::Iterator
decrement the position.
-
#inc ⇒ EMSet::Iterator
increment the position.
-
#item ⇒ Object
dereference the iterator, and returns the pointed object.
Instance Method Details
#!= ⇒ Object
compare for unequivalence of positions
183 184 |
# File 'for_yard_product.rb', line 183 def != end |
#==(arg) ⇒ Object
compare for equivalence of positions
178 179 |
# File 'for_yard_product.rb', line 178 def == arg end |
#dec ⇒ EMSet::Iterator
decrement the position
173 174 |
# File 'for_yard_product.rb', line 173 def dec end |
#inc ⇒ EMSet::Iterator
increment the position
168 169 |
# File 'for_yard_product.rb', line 168 def inc end |
#item ⇒ Object
dereference the iterator, and returns the pointed object
187 188 |
# File 'for_yard_product.rb', line 187 def item end |