Hi Jordan, Jordan Callicoat wrote: > Sam Kong wrote: >> Let's say that there's a class (C1) in a library and I'm building my >> own class hierarchy including C2 (class C2 < SomeOtherClass). >> In such a case, Inheritance or mix-in is not an option. > > Unless I misunderstand, a mixin is fine: > > module C1 > def f > p self.class > end > end Unfortunately, C1 is already a class. Sam -- Posted via http://www.ruby-forum.com/.