method
each
v2_2_9 -
Show latest stable
- Class:
Prime::OldCompatibility
each()public
Overwrites Prime#each.
Iterates the given block over all prime numbers. Note that enumeration starts from the current position of internal pointer, not rewound.