£Á°èZ¨Ä…–K§‚«“ô4“ÒÙ´dîfUÙÃÅ WKbyʦ•ꎅȮFÒ¿ÊÎóCozá¬S@6{Í:›œêZÌ:Š•_%:¢¾¾~;‘Ã~芩ÊǍí`ÔÑ©ú뙵'5I¿fš×WO%ø9¾«¾DK|€ùÍD”Ýs]nHÕ¶êםӼ㞪éUWŸÈË%DÒÕ¬ï‘]/Åcx ‰ï2ß]ä6G[]S£Ôϯrs{úëóµmÒï#UQxo·õÞCe]"±/aÙ&Eã4ú9Jé_ÞåëdãöKë)AÞ ¯¹ægƒÛowЍø^d™ý½ßB7áyMä9ÜÖUã !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Deletes the element(s) given by an index (optionally with a length) or by a range. Returns the deleted object, subarray, or nil if the index is out of range. Equivalent to:" - !ruby/struct:SM::Flow::VERB body: " def slice!(*args)\n result = self[*args]\n self[*args] = nil\n result\n end\n\n a = [ "a", "b", "c" ]\n a.slice!(1) #=> "b"\n a #=> ["a", "c"]\n a.slice!(-1) #=> "c"\n a #=> ["a"]\n a.slice!(100) #=> nil\n a #=> ["a"]\n" full_name: Array#slice! is_singleton: false name: slice! params: | array.slice!(index) -> obj or nil array.slice!(start, length) -> sub_array or nil array.slice!(range) -> sub_array or nil visibility: public