Class: Yk::EMap::Iterator
- Inherits:
-
Object
- Object
- Yk::EMap::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.
-
#assign(arg) ⇒ EMap::Iterator
assign the positions of argument.
-
#dec ⇒ EMap::Iterator
decrement the position.
-
#inc ⇒ EMap::Iterator
increment the position.
-
#item ⇒ Array
dereference the iterator, and returns the key object and the value object.
Instance Method Details
#!= ⇒ Object
compare for unequivalence of positions
307 308 |
# File 'for_yard_product.rb', line 307 def != end |
#==(arg) ⇒ Object
compare for equivalence of positions
302 303 |
# File 'for_yard_product.rb', line 302 def == arg end |
#assign(arg) ⇒ EMap::Iterator
assign the positions of argument
297 298 |
# File 'for_yard_product.rb', line 297 def assign arg end |
#dec ⇒ EMap::Iterator
decrement the position
292 293 |
# File 'for_yard_product.rb', line 292 def dec end |
#inc ⇒ EMap::Iterator
increment the position
287 288 |
# File 'for_yard_product.rb', line 287 def inc end |
#item ⇒ Array
dereference the iterator, and returns the key object and the value object
311 312 |
# File 'for_yard_product.rb', line 311 def item end |