From: Jamis Buck Date: 2003-12-13T11:38:57+09:00 Subject: Re: Q: introspection nobu.nokada@softhome.net wrote: > >In 1.8, public_methods et al take an optional argument which >directs that inherited methods are included or not. > > > Now that's handy. I only wish I'd known about it a month ago. ;) I was about to ask if these were documented somewhere, and just noticed that ri says the same thing about instance_methods (ie, you can give it a boolean indicating whether you want inherited methods or not). Good to know. -- Jamis Buck jgb3@email.byu.edu ruby -h | ruby -e 'a=[];readlines.join.scan(/-(.)\[e|Kk(\S*)|le.l(..)e|#!(\S*)/) {|r| a << r.compact.first };puts "\n>#{a.join(%q/ /)}<\n\n"'