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

to_int

        # BigDecimal.to_int

(from ruby core)
---
    to_int()

---

Returns the value as an Integer.

If the BigDecimal is infinity or NaN, raises FloatDomainError.


(This method is an alias for BigDecimal#to_i.)

Returns the value as an Integer.

If the BigDecimal is infinity or NaN, raises FloatDomainError.



      

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.