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::EratosthenesGenerator)
::new (Prime::EratosthenesSieve)
::new (Prime::PseudoPrimeGenerator)
::new (Prime::TrialDivisionGenerator)
#each (Prime::PseudoPrimeGenerator)
#get_nth_prime (Prime::EratosthenesSieve)
#int_from_prime_division (Prime)
#next (Prime::EratosthenesGenerator)
#next (Prime::PseudoPrimeGenerator)
#next (Prime::TrialDivisionGenerator)
#rewind (Prime::EratosthenesGenerator)
#rewind (Prime::PseudoPrimeGenerator)
#rewind (Prime::TrialDivisionGenerator)
#size (Prime::PseudoPrimeGenerator)
#succ (Prime::EratosthenesGenerator)
#succ (Prime::PseudoPrimeGenerator)
#succ (Prime::TrialDivisionGenerator)
#upper_bound (Prime::PseudoPrimeGenerator)
#upper_bound= (Prime::PseudoPrimeGenerator)