From: Daniel Brockman Date: 2005-07-03T07:56:35+09:00 Subject: Re: How to use Test::Unit::Assertions from class methods? Joel VanderWerf writes: > Using #include on the class's signleton class is the same as using > #extend on the class itself, IIRC Exactly. void rb_extend_object(obj, module) VALUE obj, module; { rb_include_module(rb_singleton_class(obj), module); } -- Daniel Brockman