From: ts Date: 2001-08-14T14:17:45+09:00 Subject: [ruby-talk:19675] Re: () overloading >>>>> "E" == Ed Sinjiashvili writes: E> ts writes: >> >>>>> "E" == Ed Sinjiashvili writes: >> E> class Proc E> def () (*args) E> call(*args) E> end E> end >> >> Proc#call use () which call Proc#(), which call Proc#call which use () >> which call Proc#(), etc ... :-))) E> Proc#call is an instance of class Method - so it can not call Proc#() - E> unless you somehow override Method#() to use it. I'll write it another way (just replace () with tt) class Proc def tt *args call tt *args end end Guy Decoux