If we allowed

    class <expr>

Then I could write

    class Struct.new(:name, :age)
       def to_s
         "#{self.name} is #{self.age} years old"
       end
    end

Which would be nice. I quite often extend Structs, and being able to do 
it in one step seems like a tidy idea.

An alternative might be to have Struct.new do a class_eval:

     Struct.new(:name, :ago) do
        def to_s
          ...
        end
     end



Cheers

Dave