Masaki Suketa wrote: > I think I understand your code skip the methods that don't need > blocks. > But, for example, if there is an OLE methods whose name is "max", > then, I am afraid that we might have the same problem. > Which method does the following code call (in your posted code)? > OLE method max or Enumerable#max? > > ole = WIN32OLE.new(...) > ole.max > > Do I misunderstand you? No, that's right, that is still an issue, only for (min, max, entries, sort, grep). > Hmm, please give me some time to investigate it. > (If there is OLE "enum" method, I think we might have the same problem ...) I missed something in the Enumerator API: the method Object#to_enum does what I intended "enum" to do. Cheers, Dave