Hi gurus,
I was playing a little with socket stuff, and trying to learn what
"sysaccept" is.
So, I closed irb, and launched
$ri socket.syaccept
doh! ri knows nothing about sockets!
At the first time I thought: Well, I can live without that
But after that I thought: could’nt exist some way to get info about a
method in irb from the Object itself?
sysaccept is actually (I think) an instance of the Method class, it
could have something like @parameters or @default_parameter_X_val
Does it have written somewhere infos about the parameter it gets or
what does it do ?
I seem to remember that I saw something like method.doc in that
language that starts with a P, do we have something like this in Ruby
?
If not, Why not?
it seems a good reason to me and even a good solution.
Could I even ask to have the ruby inline documentation
compiled/installed directly with the interpreter?
Not that instaling it launching rdoc is a big work, but it would be
nice 
thanks for answering me
···
On Fri, 3 Jan 2003 10:12:17 +0900, matz@ruby-lang.org (Yukihiro Matsumoto) wrote:
Hi,
In message “does exist something like Method.info ?” > on 03/01/03, gabriele renzi surrender_it@rc1.vip.lng.yahoo.com writes:
I seem to remember that I saw something like method.doc in that
language that starts with a P, do we have something like this in Ruby?
If not, Why not?
It makes the interpreter bigger. I think it should be a separate
program. I believe Dave Thomas is working on integrating ri and RDoc,
and I made approval to RDoc’ize the standard libraries (including C
written built-in). So “ri” situation will be improved.
matz.
That’s the eventual goal, but it’ll take a while…
Cheers
Dave
···
On Friday, Jan 3, 2003, at 14:14 US/Central, gabriele renzi wrote:
Not that instaling it launching rdoc is a big work, but it would be
nice 