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?
::Process.wait(0)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With