>>>>> "T" == Tobias Reif <tobiasreif / pinkjuice.com> writes:

T> Is the following possible?

T> class Foo<Object
T>  @@foo = 86
T> end

T> This would make the @@ variable available in all classes.

 No, 'class Foo < Object' is the same than 'class Foo'

 @@foo = 86 # out of the definition of a class (i.e. at toplevel), make the
            # variable available in all classes

            # or the same

  class Object
     @@foo = 86
  end


Guy Decoux