From: Daniel Bye Date: 2010-07-22T22:21:01+09:00 Subject: Re: documentation from inside irb --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 22, 2010 at 10:08:23PM +0900, Eugen Ciur wrote: > Hi, >=20 > is there a way to call ri documentation from irb ? > Something like: >=20 > shell>irb > irb(main):001:0> help inspect > NameError: undefined method `execute' for module `IRB::ExtendCommand::Hel= p' > from (eval):4:in `instance_method' > from (eval):4:in `help' > from (irb):1 > from /usr/lib/ruby/1.8/rubygems.rb:1016 The wirble gem allows you to use ri from within irb sessions. It adds various other fancy bits as well, which may or may not be interesting. Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) iEYEARECAAYFAkxIRbEACgkQixf5fBYiFmppYgCfdgW8vV+iwG70yo0E27A5s8ix kCwAoKHL43uih9X3ptAlJUyDGHrdAfCX =zbfH -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw--