> Also makes me think: what about non-anonymous singleton classes?
While we are at it: I like to have

  class User = Struct.new :name, :password
    def to_s
      name
    end
  end

1) As a shorthand for:

  User = Struct.new :name, :password
  class User
    ...
  end

2) Because it is simpler than:

  class User < Struct.new :name, :password
    ...
  end

...to make Struct even more fun :)

[murphy]