static public Method

Dir.[](...)

Dir[ array ]                  array
Dir[ string [, string ...] ]  array

Equivalent to calling Dir.glob(array,0) and Dir.glob(,0).

Source Code

/*
*  call-seq:
*     Dir[ array ]                 => array
*     Dir[ string [, string ...] ] => array
*
*  Equivalent to calling
*  <code>Dir.glob(</code><i>array,</i><code>0)</code> and 
*  <code>Dir.glob([</code><i>string,...</i><code>],0)</code>.
*
*/
static VALUE
dir_s_aref(int argc, VALUE *argv, VALUE obj)
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.