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

lcm

        # Integer.lcm

(from ruby core)
---
    int.lcm(other_int)  ->  integer

---

Returns the least common multiple of the two integers. The result is
always positive. 0.lcm(x) and x.lcm(0) return zero.

    36.lcm(60)                  #=> 180
    2.lcm(2)                    #=> 2
    3.lcm(-7)                   #=> 21
    ((1<<31)-1).lcm((1<<61)-1)  #=> 4951760154835678088235319297



      

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.