From: Stephen White Date: 2000-11-09T09:44:48+09:00 Subject: [ruby-talk:6184] Re: Minimal but practically useful Ruby browser? On Thu, 9 Nov 2000, Dave Thomas wrote: > Issues include trivial things, such as how to represent singleton > classes such as > > def fred.doIt > end > > Do they appear on the class list? I don't think it'd make sense to show singletons in a class list, as they're specific to a variable. Eg, doing a[b] = proc { puts "hello" } is similar, in that it attaches code to a variable. A singleton is just syntaxic sugar for the same operation. This is assuming we're just browsing the defined classes, not looking up the class tree for a specific variable. That would be nice for the all singing all dancing browser. > I was thinking: it probably wouldn't be hard to implement Ruby support > for OOBR, the emacs-hosted OO browser. That might let us play around a > bit. I'm not sure how many of the interested parties are emacs users > though. Been using 'joe' for 10 years now. That might explain some of the warped excesses of my imagination. :) -- steve@deaf.org