From: Tom Sawyer Date: 2003-01-24T21:02:05+09:00 Subject: Re: how do you extend a class externally? On Friday 24 January 2003 02:48 am, Kent Dahl wrote: > A.instance_eval {include(B)} > appears to work. really > But then again, there is no need to extend it externally in Ruby. You > can always reopen a class scope and do > class A; include B; end Doh! i knew that. what was i thinking? kind of odd that there's no direct method for it though. anyhow, i implemented it and it greatly slowed down my app. oh well, although i wanted better SOC i went back to including the modules into the original classes. -- tom sawyer, aka transami transami@transami.net