From: Yukihiro Matsumoto Date: 2007-03-23T18:16:41+09:00 Subject: Re: class_extension Hi, In message "Re: class_extension" on Fri, 23 Mar 2007 18:03:47 +0900, TRANS writes: |A number of people I've talked don't care for the notation of |class_extension. I think they have a problem with the name and/or the |use of a block. It doesn't look like idiomatic Ruby. So I was thinking |that perhaps a better notation would be: | | module Foo | | class << extension | ... | end | | end | |Where #extension is a Module method. This looks a good bit more |Rubyesque than the class_extension method. I am not sure what class_extension or extension does. Do they return class/module themselves? matz.