Variable scope

Can any one please tell me, what is the exact scope of the following variable types

variable @variable @@variable

Thanks

Can any one please tell me, what is the exact scope of the following variable types

variable @variable @@variable

You are not going to learn Ruby piecemeal, by asking mailing lists to do your homework for you. There are many fine Ruby language tutorials out there; get one and read it for a while. You will soak up all sorts of useful details!