Vicente Bosch Campos wrote in post #989219:
> I wonder why Class.new and Module.new don't have a parameter to define
> the name (seems something a person would want to do).  Any ideas ?
>

Because you have to assign the newly created class to a 
variable--otherwise it will be discarded--just like all values that 
aren't assigned to a variable.  If you want to name the class, you 
assign the newly created class to a constant, i.e. a name that is 
capitalized.

-- 
Posted via http://www.ruby-forum.com/.