Robert Klemme
12/31/2004 12:42:00 PM
"E S" <eero.saynatkari@kolumbus.fi> schrieb im Newsbeitrag
news:20041230225508.YVYV5992.fep32-app.kolumbus.fi@mta.imail.kolumbus.fi...
>> Lähettäjä: "Robert Klemme" <bob.news@gmx.net>
>> We would have to think about what happens if a wrapped module requires
>> another module.
>
> I don't think anything will. Try this:
>
> module Test
> require 'thread'
> end
>
> m = Test::Mutex.new
>
> Should cause an error.
There's probably a misunderstanding: I was not talking about actual behavior
but about the behavior of the suggested new include / require functionality
that was capable of wrapping loaded code in a module.
Regards
robert