Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!talisker.lacave.net!lacave.net!not-for-mail From: "Markus H." Newsgroups: comp.lang.ruby Subject: Using "class Object" for a project Date: Thu, 19 May 2011 12:21:41 -0500 Organization: Service de news de lacave.net Lines: 26 Message-ID: NNTP-Posting-Host: bristol.highgroove.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: talisker.lacave.net 1305829737 45341 65.111.164.187 (19 May 2011 18:28:57 GMT) X-Complaints-To: abuse@lacave.net NNTP-Posting-Date: Thu, 19 May 2011 18:28:57 +0000 (UTC) X-Received-From: This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway X-Mail-Count: 383478 X-Ml-Name: ruby-talk X-Rubymirror: Yes X-Ruby-Talk: Xref: x330-a1.tempe.blueboxinc.net comp.lang.ruby:4771 Hello. I am currently contemplating writing a MUD in Ruby. (I don't mind how "slow" ruby would be.) Now there is a lot of unfinished code so far, but I was wondering about one thing actually: I am thinking of a base class for all the objects in this MUD. Naturally the first thought I had would be: class Object But of course this won't work because ruby itself uses this class name. Now, what I will be doing is to use another name other than "Object" for all the base class for all Objects in the MUD. But I was thinking: - Is there any way to use a class name like "Object" on a per-project base? -- Posted via http://www.ruby-forum.com/.