From: Ben Giddings Date: 2003-08-05T04:58:54+09:00 Subject: Re: change in class << for 1.8.0? On Mon August 4 2003 3:48 pm, Brett H. Williams wrote: > Consider this: > > #!/usr/bin/env ruby > msg = ARGV.shift try msg = ARGV.shift.dup I guess the elements of ARGV are immutable? > class << msg > def GetName; return self; end > end Btw, it's probably a bad idea to name your methods with leading caps. Ben