From: "Mikael Høilund" Date: 2008-05-30T07:25:03+09:00 Subject: Re: Quickie: Monkey patching Array On May 30, 2008, at 0:18, Leon Bogaert wrote: > class Array > def [](elem) # just get rid of the "=" > raise 'Yesss... It works!' > end > end > > a = ['one', 'two', 'three'] That's an array literal, not Array#[]. No way to overload that, I'm afraid. Try running: a[0] -- Name = "Mikael Høilund"; Email = Name.gsub %r/\s/,%#=?,# ## visit *a=e=?=,!????,:??,?,,Email.downcase![eval(%["\\%o\\%o"]% ## http:// [?**2+?o,?\\*2])]="o";Email.gsub! %%\%c%*3%a, %?%c? % ?@ ## hoilund def The(s)%%\%s.%%s+%.org\n.end; :Go and print The Email ## dot org