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

slice!

        # String.slice!

(from ruby core)
---
    slice!(index)               -> new_string or nil
    slice!(start, length)       -> new_string or nil
    slice!(range)               -> new_string or nil
    slice!(regexp, capture = 0) -> new_string or nil
    slice!(substring)           -> new_string or nil

---

Removes the substring of `self` specified by the arguments; returns the
removed substring.

See String#[] for details about the arguments that specify the
substring.

A few examples:

    string = "This is a string"
    string.slice!(2)        #=> "i"
    string.slice!(3..6)     #=> " is "
    string.slice!(/s.*t/)   #=> "sa st"
    string.slice!("r")      #=> "r"
    string                  #=> "Thing"



      

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.