You must have it locally through ri :
$ ri Prime = Prime < Object ------------------------------------------------------------------------------ = Includes: Enumerable (from ruby core) (from ruby core) ------------------------------------------------------------------------------ The set of all prime numbers. == Example Prime.each(100) do |prime| p prime
There is also RubyDoc.info which has the best index:
http://rubydoc.info/stdlib/prime/1.9.2/frames
source share