With a regexp you can do something similar:

['file111','file222','file1ax', 'something'].select { |str| str =~ /file.*/
}
#=> ['file111','file222','file1ax']

So the unix * in ruby can be the regexp .* (the dot is important)

2011/3/11 vahag vardanyan <vahagvardanyan / gmail.com>

> thanks for answer, but I don't mean that, I don't mean directories
>
> actulay I mean, is there any sybol, like * in Unix!
>
> --
> Posted via http://www.ruby-forum.com/.
>
>