----- Original Message -----
From: "Mark Wilson" <mwilson13 / cox.net>

Using irb in 1.6.7, an attempt to subclass Class gives:

TypeError: can't make subclass of Class
         from (irb):3:in `inherited'
         from (irb):3

The same error is given using a program.

1.  Is the difference between 1.6 and 1.7 intentional?
----------------------------

1.7.3 doesn't allow it either... and I tried Windows and Linux.  Where is
Guy getting his builds??  :)


----------------------------
2.  If you can't define a method for an attempted subclass of Class,
have you actually created a subclass of Class in 1.7?
----------------------------

No.  Like I said, Class.new is broken.  Rather than creating a class whose
klass pointer is *Class*, the klass pointer should be *self*.  It would work
like you'd expect it to.  Currently, you can do:

  class A
    def getSelf
      self
    end
  end

  class B < A
  end

  b = B.new

  p b.getSelf  #  -->  #<B:0x27799a0>

It would be similar.

Chris