This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

delete_at

        # Array.delete_at

(from ruby core)
---
    array.delete_at(index) -> deleted_object or nil

---

Deletes an element from `self`, per the given Integer `index`.

When `index` is non-negative, deletes the element at offset `index`:
    a = [:foo, 'bar', 2]
    a.delete_at(1) # => "bar"
    a # => [:foo, 2]

If index is too large, returns `nil`.

When `index` is negative, counts backward from the end of the array:
    a = [:foo, 'bar', 2]
    a.delete_at(-2) # => "bar"
    a # => [:foo, 2]

If `index` is too small (far from zero), returns nil.



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.