--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns a copy of <em>self</em> with all <tt>nil</tt> elements removed.
- !ruby/struct:SM::Flow::VERB 
  body: "   [ &quot;a&quot;, nil, &quot;b&quot;, nil, &quot;c&quot;, nil ].compact\n                     #=&gt; [ &quot;a&quot;, &quot;b&quot;, &quot;c&quot; ]\n"
full_name: Array#compact
is_singleton: false
name: compact
params: |
  array.compact     ->  an_array

visibility: public
