From: ts Date: 2002-01-28T00:14:17+09:00 Subject: Re: Dir[] and File.stat(str).directory? on Win98 >>>>> "S" == Stephan =?iso-8859-1?Q?K=E4mper?= writes: S> But how would I 'alias' a class method correctly? Something like this ? class Dir class << self unless method_defined? :__old_glob__ alias __old_glob__ [] def [](arg) # do what you want with arg __old_glob__(arg) end end end end Guy Decoux