D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Enumerable
/
Enumerator
/
Filename :
next-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the next object in the enumerator, and move the internal position forward. When the position reached at the end, internal position is rewinded then StopIteration is raised. - !ruby/struct:SM::Flow::P body: Note that enumeration sequence by next method does not affect other non-external enumeration methods, unless underlying iteration methods itself has side-effect, e.g. IO#each_line. - !ruby/struct:SM::Flow::P body: "Caution: Calling this method causes the "generator" library to be loaded." full_name: Enumerable::Enumerator#next is_singleton: false name: next params: | e.next => object visibility: public