[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Inheritence Diagram of Ruby classes...

Thomas Adam

11/6/2003 2:27:00 PM

Hello All,

Has anyone got, or know of a diagram that shows how the ruby classes are
ordered in terms of inheritence?

Thanks,

Thomas Adam

=====
Thomas Adam

"The Linux Weekend Mechanic" -- http://linuxg...
"TAG Editor" -- http://linuxg...

________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.y...

2 Answers

Eric Hodel

11/6/2003 7:49:00 PM

0

Thomas Adam (thomas_adam16@yahoo.com) wrote:

> Hello All,
>
> Has anyone got, or know of a diagram that shows how the ruby classes are
> ordered in terms of inheritence?

Using ObjectSpace.each_object(Class) and a bit of code (like in the
attached script), you can generate one for yourself. Note that the
below does not mention any included modules (an exercise for the
reader).

Actually, the code I wrote could no doubt be compacted significantly,
any takers?

ruby 1.6.8 (2002-12-24) [i386-freebsd5]
Kernel
Object
Array
Binding
ClassNode
Continuation
Data
Dir
Exception
Interrupt
NoMemoryError
ScriptError
LoadError
NameError
NotImplementedError
SyntaxError
SignalException
StandardError
ArgumentError
IOError
EOFError
IndexError
LocalJumpError
RangeError
FloatDomainError
RegexpError
RuntimeError
SecurityError
SystemCallError
Errno::E2BIG
Errno::EACCES
Errno::EADDRINUSE
Errno::EADDRNOTAVAIL
Errno::EAFNOSUPPORT
Errno::EAGAIN
Errno::EALREADY
Errno::EBADF
Errno::EBUSY
Errno::ECHILD
Errno::ECONNABORTED
Errno::ECONNREFUSED
Errno::ECONNRESET
Errno::EDEADLK
Errno::EDESTADDRREQ
Errno::EDOM
Errno::EDQUOT
Errno::EEXIST
Errno::EFAULT
Errno::EFBIG
Errno::EHOSTDOWN
Errno::EHOSTUNREACH
Errno::EIDRM
Errno::EILSEQ
Errno::EINPROGRESS
Errno::EINTR
Errno::EINVAL
Errno::EIO
Errno::EISCONN
Errno::EISDIR
Errno::ELOOP
Errno::EMFILE
Errno::EMLINK
Errno::EMSGSIZE
Errno::ENAMETOOLONG
Errno::ENETDOWN
Errno::ENETRESET
Errno::ENETUNREACH
Errno::ENFILE
Errno::ENOBUFS
Errno::ENODEV
Errno::ENOENT
Errno::ENOEXEC
Errno::ENOLCK
Errno::ENOMEM
Errno::ENOMSG
Errno::ENOPROTOOPT
Errno::ENOSPC
Errno::ENOSYS
Errno::ENOTBLK
Errno::ENOTCONN
Errno::ENOTDIR
Errno::ENOTEMPTY
Errno::ENOTSOCK
Errno::ENOTTY
Errno::ENXIO
Errno::EOPNOTSUPP
Errno::EOVERFLOW
Errno::EPERM
Errno::EPFNOSUPPORT
Errno::EPIPE
Errno::EPROTONOSUPPORT
Errno::EPROTOTYPE
Errno::ERANGE
Errno::EREMOTE
Errno::EROFS
Errno::ESHUTDOWN
Errno::ESOCKTNOSUPPORT
Errno::ESPIPE
Errno::ESRCH
Errno::ESTALE
Errno::ETIMEDOUT
Errno::ETOOMANYREFS
Errno::ETXTBSY
Errno::EUSERS
Errno::EXDEV
SystemStackError
ThreadError
TypeError
ZeroDivisionError
SystemExit
fatal
FalseClass
File::Stat
Hash
IO
File
MatchData
Method
UnboundMethod
Module
Class
NilClass
Numeric
Float
Integer
Bignum
Fixnum
Proc
Range
Regexp
String
Struct
Struct::Tms
Symbol
Thread
ThreadGroup
Time
TrueClass

--
Eric Hodel - drbrain@segment7.net - http://se...
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04

Scout

3/3/2009 3:22:00 PM

0


"tankfixer" <paul.carrier@gmail.com> wrote in message
news:MPG.2416e81cda69c669897ea@news.bytemine.net...
> In article <BcednW8Qodjj3zDUnZ2dnUVZ_o-WnZ2d@earthlink.com>,
> scout_x@eathlink.removeme.this2.nospam.net says...
>>
>> "Klaus Schadenfreude" <klausschadenfreude@yahoo.com> wrote in message
>> news:p74pq4hqqot7s8fbj1q2lk8gqm92s1892r@4ax.com...
>> > In talk.politics.guns tankfixer <paul.carrier@gmail.com> wrote:
>> >
>> >>In article <anunq4p3e8o5v3im222davirgeck0k85j6@4ax.com>,
>> >>klausschadenfreude@yahoo.com says...
>> >>> In talk.politics.guns tankfixer <paul.carrier@gmail.com> wrote:
>> >>>
>> >>> >In article <mqknq4t7kvmid0etd4rl0p7mt3mrt7f22e@4ax.com>,
>> >>> >klausschadenfreude@yahoo.com says...
>> >>> >> In talk.politics.guns Truthteller <eletourneau@myfairpoint.net>
>> >>> >> wrote:
>> >>> >>
>> >>> >> >In <MPG.2414f2047eab151a9897ce@news.bytemine.net>, on 03/01/2009
>> >>> >> > at 07:27 PM, tankfixer <paul.carrier@gmail.com> said:
>> >>> >>
>> >>> >> >>> That's what happens when your wife runs off and you have no
>> >>> >> >>> hobbies
>> >>> >> >>> except sitting in your dark basement room and wondering how
>> >>> >> >>> you
>> >>> >> >>> could
>> >>> >> >>> have been so STUPID as to send an email and not hide your
>> >>> >> >>> email
>> >>> >> >>> address.
>> >>> >> >
>> >>> >> >>Quivering in fear of the knock on the door...
>> >>> >>
>> >>> >> >
>> >>> >> >Well you got a problem there paul. You don't have a job, and
>> >>> >> >your
>> >>> >> >mommy
>> >>> >> >isn't going to foot the bill, so how ya plan on getting there?
>> >>> >>
>> >>> >> Um, he's NOT going to go there Edwin. Nobody is. You're just not
>> >>> >> that
>> >>> >> important. [chuckle]
>> >>> >
>> >>> >You can add another lie to his lst..
>> >>> >If I've no job then why am I putting on those sand colored boots
>> >>> >every
>> >>> >day ?
>> >>>
>> >>> He claimed you're not in the military, too. He's really jealous of
>> >>> folks who ACTUALLY served...
>> >>
>> >>If he thinks that then why did he waste a phone call to the state JFHQ
>> >>whining that I was picking on him ?
>> >
>> > I can answer that- he's fucking nuts and on drugs. I notice he's been
>> > quiet this evening.
>>
>> Maybe he had to get a new ISP?
>
> Doesn't appear so..
> Maybe a bunch o them drugs kicked in at once and he was incoherent...

Probably left off with a warning. After all the forgeries seem to have come
to a sudden and rather abrupt halt.