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

oct

        # String.oct

(from ruby core)
---
    str.oct   -> integer

---

Treats leading characters of *str* as a string of octal digits (with an
optional sign) and returns the corresponding number.  Returns 0 if the
conversion fails.

    "123".oct       #=> 83
    "-377".oct      #=> -255
    "bad".oct       #=> 0
    "0377bad".oct   #=> 255

If `str` starts with `0`, radix indicators are honored. See
Kernel#Integer.



      

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.