From: Albert Schlef Date: 2009-03-31T07:00:34+09:00 Subject: Re: When to use instance variables @ Steve Dogers wrote: > Hi, I have a couple questions about instance variables in Ruby. > 1) do i need to declare them at the top of my class file In Ruby you declare nothing. (That's unlike languages like Java, C, etc., where everything has to be declated before use.) So, in Ruby you don't declare variables. In fact, you don't even declare functions and classes. (You "create" them.) -- Posted via http://www.ruby-forum.com/.