From: ts Date: 2004-02-01T21:07:11+09:00 Subject: Re: Constant visibility >>>>> "G" == Gavin Sinclair writes: G> To my mind, the way things work (scope-wise) should depend on the G> value of 'self' and little if not nothing else. well, another example to see that ruby sometimes use something else than self svg% ruby -e 'Array.instance_eval { p self; def a() puts "a"; end }; Array.a' Array a svg% svg% ruby -e 'Array.module_eval { p self; def a() puts "a"; end }; [].a' Array a svg% Guy Decoux