* Brett H. Williams <brett_williams / agilent.com> [Oct, 10 2003 23:00]: > Here is the first problem that we found: > > def somemethod(something) > return Array.new() unless @var.class == Array > end Aw great. Oh well, I guess I'll have to start debugging from the start again. Thanks for finding this. > > The use of the .class method confuses the syntax. If you use the > deprecated type() method, this problem goes away. OK. Yeah, you're probably correct. I'll have to look at how to solve this. > > If I notice anything else I'll be sure to provide feedback. If I can get > to the point where a gg=G can be relied on as I used to rely on Emacs, I'll > be extremely happy indeed. I hope it will too ;-). It does for the 1.6.8 version of tk.rb anyway. That's a 3500 line file or similar and it indents it flawlessly and in under 10 seconds on my computer, nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}