use the ri tool: read the document
Enter ri, followed by the item you want help with, such as the puts method:
C:\rubydev>ri puts
More than one method matched your request. You can refine
your search by asking for information on one of:
IO#puts, Kernel#puts, Zlib::GzipWriter#puts
Related examples in the same category