views:

26

answers:

1

Inside a module I have a class named Process.

module M
  Process= Class.new
  Process::wait(0)
end

This raises NoMethodError.

How do I access the toplevel Process from inside the module? Is this at all possible, without renaiming my class?

+4  A: 
::Process.wait(0)
Farrel