>This one does not:
>
>module Foo
>def foo
>  "foo"
>end
>end include Foo
>OpenStruct.new.foo
>=> foo
>
>This is surely an anomaly too, is it not?

Pardon my ignorance. I wasn't aware that the mixin module at top level 
causes all its methods become globally available for all levels below. 
Although, some comment on the explanation or reason behind this is 
appreciated. (I was trying to turn my script into some script type by mixin 
a module. Doesn't look like a good idea now)

-andre

_________________________________________________________________
Get the latest Windows Live Messenger 8.1 Beta version.?Join now. 
http://ideas.live.com