Method: When::Parts::Enumerator#next
- Defined in:
- lib/when_exe/parts/enumerator.rb
#next ⇒ Comparable
次の要素を取り出す
191 192 193 194 195 |
# File 'lib/when_exe/parts/enumerator.rb', line 191 def next return succ if has_next? rewind raise StopIteration, "Iteration Stopped" end |