From: "ara.t.howard" Date: 2008-12-13T09:02:36+09:00 Subject: Re: Function def at end of scripts On Dec 12, 2008, at 10:06 AM, No Where wrote: > Hi, > > I am refactoring an ugly script. I would like it contained all in one > file so I was moving code to functions/classes and put them at the end > of the script for legibility. This didn't work. They are only > available > if I put them at the beginning of the script before I need them. Is > there a way to declare them at the beginning so I can put them all at > the end of the file? > > Thanks! > Eric > -- > Posted via http://www.ruby-forum.com/. > stuff BEGIN { def stuff end } a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama