seebs
5/20/2007 6:49:00 PM
In message <1179685177.363826.262700@u36g2000prd.googlegroups.com>, anoosh writes:
>1)What are the meaning of symbols(:var) and Instance variables(@x)
>Ruby?(I know Java and C.If it is possible for you tell me the
>synonyms in these languages,please)
I can't think of any synonym in either for symbols, because both are
compiled languages. Instance variables are pretty much the same beast
as non-static Java class variables.
>2)How can I define my own exception handling in Ruby?
I have no idea what you mean. You mean instead of the standard
exception handling? I don't think you can, and I certainly hope you
don't try.
-s