Class: Yk::EMMap::Iterator
- Inherits:
-
Object
- Object
- Yk::EMMap::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) ⇒ EMMap::Iterator
assign the positions of argument.
-
#dec ⇒ EMMap::Iterator
decrement the position.
-
#inc ⇒ EMMap::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
408 409 |
# File 'for_yard_product.rb', line 408 def != end |
#==(arg) ⇒ Object
compare for equivalence of positions
403 404 |
# File 'for_yard_product.rb', line 403 def == arg end |
#assign(arg) ⇒ EMMap::Iterator
assign the positions of argument
398 399 |
# File 'for_yard_product.rb', line 398 def assign arg end |
#dec ⇒ EMMap::Iterator
decrement the position
393 394 |
# File 'for_yard_product.rb', line 393 def dec end |
#inc ⇒ EMMap::Iterator
increment the position
388 389 |
# File 'for_yard_product.rb', line 388 def inc end |
#item ⇒ Array
dereference the iterator, and returns the key object and the value object
412 413 |
# File 'for_yard_product.rb', line 412 def item end |