On Fri, 30 Jun 2006, Joel VanderWerf wrote: > ara.t.howard / noaa.gov wrote: > ... >> incidentally, '<<' is not a pure append operator in ruby >> >> class << self >> end >> >> 42 << 2 >> >> string = <<hdoc >> foobar >> hdoc > > But those aren't other uses of the << operator. Those are "just" syntax. hmmm. you are right in two of three. but Fixnum#<< is definitely a method. in any case ruby has precedent for '<<' meaning other things besides only 'append'. cheers. -a -- suffering increases your inner strength. also, the wishing for suffering makes the suffering disappear. - h.h. the 14th dali lama