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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Like #pad but changes the array in place."
- !ruby/struct:SM::Flow::VERB 
  body: "   a = [0,1,2]\n   a.pad!(6,&quot;x&quot;)\n   a  #=&gt; [0,1,2,&quot;x&quot;,&quot;x&quot;,&quot;x&quot;]\n"
- !ruby/struct:SM::Flow::P 
  body: "CREDIT: Richard Laugesen"
full_name: Array#pad!
is_singleton: false
name: pad!
params: (len, val=nil)
visibility: public
