From: Gavin Kistner Date: 2005-02-11T00:25:36+09:00 Subject: Re: Class of the Instance [was Re: Building a Better Functor] Heh, right before I got your email, I had just added "instance_class" and "instance_class_eval" to the previous bit of code I pasted. :) On Feb 10, 2005, at 8:15 AM, Trans wrote: > Ruby Facets: > > require 'facet/object/special_class' > > f = Foo.new > f.special_class > f.special_class_eval { ... } > f.define_special_method( :meth_name ) { ... } > > These are also aliased as "singleton" in place of the word "special". > "Singeton" is the more commonly used term, but it sometimes causes > confusion because of Singleton Pattern. So I choose "special" to help > clarify --being more percise. > > See http://calibre.rubyforge.org/ -- (-, /\ \/ / /\/