Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #4771
| From | "Markus H." <shevegen@gmail.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Using "class Object" for a project |
| Date | 2011-05-19 12:21 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <a758af90f801ff5df85c80e0f184f560@ruby-forum.com> (permalink) |
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/.
Back to comp.lang.ruby | Previous | Next — Next in thread | Find similar | Unroll thread
Using "class Object" for a project "Markus H." <shevegen@gmail.com> - 2011-05-19 12:21 -0500
Re: Using "class Object" for a project Joel VanderWerf <joelvanderwerf@gmail.com> - 2011-05-19 12:58 -0500
Re: Using "class Object" for a project 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-19 12:37 -0500
Re: Using "class Object" for a project Robert Dober <robert.dober@gmail.com> - 2011-05-19 13:50 -0500
Re: Using "class Object" for a project Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-19 15:05 -0500
csiph-web