Current File : //proc/thread-self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/Array/nitems-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns the number of non-<tt>nil</tt> elements in <em>self</em>.
- !ruby/struct:SM::Flow::P
body: May be zero.
- !ruby/struct:SM::Flow::VERB
body: " [ 1, nil, 3, nil, 5 ].nitems #=> 3\n"
full_name: Array#nitems
is_singleton: false
name: nitems
params: |
array.nitems -> int
visibility: public