From: Martin DeMello Date: 2003-05-17T04:41:47+09:00 Subject: Re: make_collector Mauricio Fern?ndez wrote: > > Why not simply use some prefix? > > class Module > def make_collector(*args) > args.each {|meth| > module_eval <<-EOF > alias_method :__foo_bar_baz_#{meth}, :#{meth} I dunno - for some reason I'm always a bit uneasy about using alias wth an arbitrary prefix. I haven't sat down and examined it, but it feels fragile. martin