Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Array/clear-i.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Removes all elements from <em>self</em>.
- !ruby/struct:SM::Flow::VERB 
  body: "   a = [ &quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;, &quot;e&quot; ]\n   a.clear    #=&gt; [ ]\n"
full_name: Array#clear
is_singleton: false
name: clear
params: |
  array.clear    ->  array

visibility: public