From: Michal Rokos Date: 2002-08-30T17:23:03+09:00 Subject: Re: [Update] Port match to new dup, clone framework Hello, On Thu, Aug 29, 2002 at 01:22:18AM +0900, Yukihiro Matsumoto wrote: > OK if you add class check to become method (orig may not be MatchData), > like this: > if (!rb_obj_is_instance_of(orig, rb_obj_class(obj))) { > rb_raise(rb_eTypeError, "wrong argument class"); > } Added and commited. Thank you. Michal -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Michal Rokos Czech Technical University, Prague E-mail:m.rokos@sh.cvut.cz ICQ:36118339 Jabber:majkl@jabber.cz -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-