From: Yukihiro Matsumoto Date: 2006-06-23T08:44:02+09:00 Subject: Re: Class#name= Hi, In message "Re: Class#name=" on Fri, 23 Jun 2006 06:42:09 +0900, Joshua Haberman writes: |Is there any reason that Class#name= shouldn't exist? Modules and classes are named by the constant referencing it. If you want to name an anonymous module, see the following code: mod = Module.new NewModule = mod p NewModule.name # => "NewModule" matz.