Hi, Execution of a program starts at the top of the file that you pass to the interpreter. So in your case the class is defined first, then an instance of the class is created the inspect method is run on the instance. Whether you put your classes in separate files is really a design issue that is up to you. Due to the ease with which classes can be created in Ruby i often find myself creating a number of small classes in the same file, each implementing a little bit of functionality. This also lends itself to ease of testing with a unit testing framework such as RubyUnit. Martin -----Original Message----- From: Søòen Munk Skrøäer [mailto:s_skroeder / hotmail.com] Sent: Monday, 25 June 2001 9:43 AM To: ruby-talk / ruby-lang.org Subject: [ruby-talk:16831] Re: Totally newbie seeks a bit of help Thanks Martin.... It worked :-) ... My first Ruby-class *got a broad smile on my face right now* ..... :-) (can't believe that it was only a spelling-error :-)))) If i have more classes... should they be in seperate files ????? ..... And where does the excecution of the program begin (if one has multible files.....) .... (==> as i stated earlier - I'm used to have a main-method to cling on to ) /Søòen Munk Skrøäer