From: Trans Date: 2005-04-26T01:14:28+09:00 Subject: Re: Strange behavior with SimpleDelegator and its Idioclass Okay, now I'm trying to better understand how delegate.rb works b/c I would like to reuse the principle behind it elsewhere. But I don't understand one thing. How is self being redirected? class SD < SimpleDelegator def bracket p self end end class C end c = C.new sd = SD.new(c) sd.bracket produces # How does self become c in the context of sd? I don't see how delegate.rb achieves this. Thanks, T.