Alle Saturday 07 February 2009, Peter Fitzgibbons ha scritto: > HI All, > > Could somone explain the subtle difference between Module#=== and > Object#is_a? > > I found a usage of === to test if an argument is Regexp or not... just want > to know the restrictions. > The code is beautiful... > > if Regexp === regexp_or_string > Looking at the ri documentation for the two methods, I'd say they do exactly the same thing. Stefano