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

length

        # Struct.length

(from ruby core)
---
    length()

---

Returns the number of members.

    Customer = Struct.new(:name, :address, :zip)
    joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345)
    joe.size #=> 3

Struct#length is an alias for Struct#size.


(This method is an alias for Struct#size.)

Returns the number of members.

    Customer = Struct.new(:name, :address, :zip)
    joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345)
    joe.size #=> 3

Struct#length is an alias for Struct#size.



      

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.