From: Rajinder Yadav Date: 2010-10-23T00:46:45+09:00 Subject: Re: Ruby functions list On Thu, Oct 21, 2010 at 7:40 PM, Alex Star wrote: > Can anyone please suggest a webpage, e-book or a software where i could > just search a class or a method, for example gsub() and it would show an > explanation about that function and example. > Like in a BorlandC++ 3.1 pressing Ctrl+F1 will show help on current > operator and example. > > Sorry for my grammatical skills, my english is not so good > > -- > Posted via http://www.ruby-forum.com/. > > What wrong with using ri ? ri gsub by default it will tell you each class that support a function and then you can drill down i.e. ri size ri String.size ri Array.size to search up just a class, use ri Array imho the command line is a lot faster to lookup things vs switching to a browser, searching for a bookmark then navigating to the website with no search or poor search and then clicking on a link for more help type ri --help -- Kind Regards, Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely GNU/Linux: 2.6.35-22-generic Kubuntu x86_64 10.10 | KDE 4.5.1 Ruby 1.9.2p0 | Rails 3.0.1