J
John Maclean
Normally I use `ri foo` whenever I want to read up on something. There's
also the ruby library, (/usr/lib/ruby/1.8), as there are some goodies and clues in the comments. `locate foo.rb` normally does it but in the case for TCPSocket, Socket and IPSocket there's nothing to be found. Where is it hidden?
Socket.ancestors
[Socket, BasicSocket, IO, File::Constants, Enumerable, Object, PP::ObjectMixin, Kernel]
I'm guessing that it's either part of IO or something writen in C. Am I
right? Is there a Socket.rb file anywhere?
- jjm
also the ruby library, (/usr/lib/ruby/1.8), as there are some goodies and clues in the comments. `locate foo.rb` normally does it but in the case for TCPSocket, Socket and IPSocket there's nothing to be found. Where is it hidden?
Socket.ancestors
[Socket, BasicSocket, IO, File::Constants, Enumerable, Object, PP::ObjectMixin, Kernel]
I'm guessing that it's either part of IO or something writen in C. Am I
right? Is there a Socket.rb file anywhere?
- jjm