From: ts Date: 2001-10-26T00:22:29+09:00 Subject: [ruby-talk:23304] Re: why the @ s ? >>>>> "T" == Tobias Reif writes: T> It's no class, and all three variables are declared @ the toplevel, so I T> thought the @ signs are not necessary. (The vars are no instance vars, T> and they are not declared inside control structures that would limit T> their scope) You have always a class in ruby, for example when you write (at the toplevel) def tt() end you have defined a method for the class Object This is the same for variables @var, at the toplevel, is an instance variable for an object of Object. If you remove `@' ruby will search for a local variable, or a method of Object Guy Decoux