Ruby Newbie homepage Ruby Newbie homepage

How to use

Quick guide

Official content
Returns the count of elements in self.
 
               static VALUE
rb_ary_length(VALUE ary)
{
    long len = RARRAY_LEN(ary);
    return LONG2NUM(len);
}
            

Was this page useful?