Saari Development

Ali Rizvi's Technical Blog as a Professional Software Development Engineer

Ruby: using irb and ri as a exploratory learning device

with one comment

irb> Kernel.methods.each do |method| puts method; system "/usr/local/bin/ri --no-pager Kernel##{method}"; ch = STDIN.getc; break if (ch.chr == 'q') end

Once you enter this just keep hit enter until you want to quit, at that point hit ‘q’ and enter.

Still some kinks to be worked out but it is a start

Found this interesting link: on


Written by imsaar

February 22, 2006 at 10:48 pm

Posted in general

One Response

Subscribe to comments with RSS.

  1. Very crude and limited use utility.

    That’s what happen when you learn, experiment and rejoice non-success.

    You need a lot of work to get some where.


    February 22, 2006 at 11:17 pm

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: