From: Dave Aronson Date: 2012-01-26T03:43:59+09:00 Subject: Re: A little assistance please :) On Tue, Jan 24, 2012 at 23:32, Chad Perrin wrote: > Because self already has meaning in Ruby, when you try to define a class > like this: > >    class self.Startup > > . . . Ruby is trying to call a Startup method on the Object object (no, > that repetition wasn't accidental -- there's an object called Object) and > use the return value of that method as the name of the class you're > trying to define. So if I had a class with a method that returned a string, I could use that where the name is expected in a class declaration? That doesn't seem right. Tried it in irb, using both a class method (Foo.bar) and an instance method (foo.bar), and neither worked. -Dave -- Dave Aronson, Available Cleared Ruby on Rails Freelancer (NoVa/DC/Remote); details @ http://www.DaveAronson.com/.