Dir.glob problem

Am 31.01.2013 10:00, schrieb Arup R.:

Joel P. wrote in post #1094511:

The asterisks are important: */

Yeah,I am with you. But what the difference is between “glob” without
*/ and “glob” with **/*?

Need to understand the basic.

The asterisks are explained in the documentation,
there are also examples.

BTW, most “basic” questions can be answered by looking
into the docs or by a quick internet search.

Google: “ruby glob”

  1. Class: Dir (Ruby 1.9.3)
    [Official Docs]
  2. Using Glob with Directories - Ruby - About.com
    [an article that explains Dir.glob]

That’s usually much faster than posting a question.