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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Splice acts a combination of #slice! and #store. If two arguments are given it calls #store. If a single argument is give it calls slice!."
- !ruby/struct:SM::Flow::VERB 
  body: "  a = [1,2,3]\n  a.splice(1)    #=&gt; 2\n  a              #=&gt; [1,3]\n\n  a = [1,2,3]\n  a.splice(1,4)  #=&gt; 4\n  a              #=&gt;[1,4,3]\n"
- !ruby/struct:SM::Flow::P 
  body: "CREDIT: Trans"
full_name: Array#splice
is_singleton: false
name: splice
params: (*args)
visibility: public
