This is the API documentation for prime: Ruby Standard Library Documentation.
New to Ruby? You may find these links helpful: syntax, control expressions, assignment, methods, modules + classes, and operator precedence.
This is the API documentation for prime: Ruby Standard Library Documentation.
::from_prime_division (Integer)
::new (Prime::EratosthenesSieve)
::new (Prime::EratosthenesGenerator)
::new (Prime::TrialDivisionGenerator)
::new (Prime::PseudoPrimeGenerator)
#each (Prime::PseudoPrimeGenerator)
#get_nth_prime (Prime::EratosthenesSieve)
#int_from_prime_division (Prime)
#next (Prime::EratosthenesGenerator)
#next (Prime::TrialDivisionGenerator)
#next (Prime::PseudoPrimeGenerator)
#rewind (Prime::EratosthenesGenerator)
#rewind (Prime::PseudoPrimeGenerator)
#rewind (Prime::TrialDivisionGenerator)
#size (Prime::PseudoPrimeGenerator)
#succ (Prime::TrialDivisionGenerator)
#succ (Prime::PseudoPrimeGenerator)
#succ (Prime::EratosthenesGenerator)
#upper_bound (Prime::PseudoPrimeGenerator)
#upper_bound= (Prime::PseudoPrimeGenerator)