Method: Kiss::Iterator#next
- Defined in:
- lib/kiss/iterator.rb
#next ⇒ Object
Return next item in loop-iterated collection.
37 38 39 |
# File 'lib/kiss/iterator.rb', line 37 def next @_collection ? @_collection[index+1] : nil end |