>>>>> "J" == Joel VanderWerf <vjoel / PATH.Berkeley.EDU> writes: J> I don't understand. Neither of your #each methods takes arguments. You have found the fix :-) J> In the case of instances of REXML::Elements#each, an optional XPath string. and if someone want to call it with 2, 3, ... arguments ? For me, your problem seems specific to a class (REXML::Elements) Guy Decoux