method
each
v1_9_2_180 -
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.