method
each
v1_9_1_378 -
Show latest stable
- Class:
Prime::OldCompatibility
each(&block)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.