From: Justin Collins Date: 2013-02-06T07:03:51+09:00 Subject: Re: Is there anyway to get all the class with their instance methods names to be available and to see th On 02/05/2013 01:46 PM, Love U Ruby wrote: > Is there anyway to get all the class with their instance methods names > to be available and to see them in the IRB terminal itself? > > I am using Nokogiri and Selenium- web driver. > > If not found "Google" is the only option I know :) > > Thanks > You mean print out all the classes and their instance methods? This should work: ObjectSpace.each_object do |o| if o.is_a? Class puts "Class: #{o}" puts o.instance_methods.sort.inspect end end This doesn't include modules, though... -Justin