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

magnitude

        # Complex.magnitude

(from ruby core)
---
    magnitude()

---

Returns the absolute part of its polar form.

    Complex(-1).abs         #=> 1
    Complex(3.0, -4.0).abs  #=> 5.0


(This method is an alias for Complex#abs.)

Returns the absolute part of its polar form.

    Complex(-1).abs         #=> 1
    Complex(3.0, -4.0).abs  #=> 5.0



      

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.