From: come Date: 2007-04-24T16:50:04+09:00 Subject: Re: glob on a dir object Hi, Indeed, "glob" is a classe methods of "Dir" but since Dir is a child of Enumerable module, you have access to all instance methods of Enumerable module like, for instance : grep. So : dh.grep(/^a?/) ...should play the same role as the glob class method On 24 avr, 05:58, ruby Newbie wrote: > ahh, That makes sense now. I get :: and # syntax that I saw in > Pragmatic programmer's guide .Thank you Harold & Jesse. >