Generates all integers which are greater than 2 and are not divisible by either 2 or 3.
This is a pseudo-prime generator, suitable on checking primality of an integer by brute force method.
Methods
Class Public methods
new()
Link
Source: show
# File lib/prime.rb, line 347 def initialize @prime = 1 @step = nil super end
Instance Public methods