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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Same as #rotate, but acts in place."
- !ruby/struct:SM::Flow::VERB 
  body: "  a = [1,2,3]\n  a.rotate!\n  a  #=&gt; [3,1,2]\n"
- !ruby/struct:SM::Flow::P 
  body: "CREDIT: Florian Gross, Thomas Sawyer"
full_name: Array#rotate!
is_singleton: false
name: rotate!
params: (n=1)
visibility: public
