Hi,

At Thu, 2 Oct 2003 12:45:03 +0900,
Mark J. Reed wrote:
> If I do
> 	class Foo
> 
> then that automatically refers to Foo in the current namespace.
> How can I force a reference to the top-level Foo no matter what
> namespace I'm in?  class ::Foo is a syntax error.

It works in 1.8.

If you use 1.6 still,

  class X
    ::Object.class_eval do
      class Foo
      end
    end
  end

-- 
Nobu Nakada