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

bytesize

        # String.bytesize

(from ruby core)
---
    bytesize -> integer

---

Returns the count  of bytes in `self`:

    "\x80\u3042".bytesize # => 4
    "hello".bytesize # => 5

Related: String#length.



      

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.