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

abs

        # Float.abs

(from ruby core)
---
    float.abs        ->  float
    float.magnitude  ->  float

---

Returns the absolute value of `float`.

    (-34.56).abs   #=> 34.56
    -34.56.abs     #=> 34.56
    34.56.abs      #=> 34.56

Float#magnitude is an alias for Float#abs.



      

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.