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

denominator

        # Rational.denominator

(from ruby core)
---
    rat.denominator  ->  integer

---

Returns the denominator (always positive).

    Rational(7).denominator             #=> 1
    Rational(7, 1).denominator          #=> 1
    Rational(9, -4).denominator         #=> 4
    Rational(-2, -10).denominator       #=> 5



      

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.