Daniel Carrera wrote:

>I can't get Math.PI to work:
>
>$ ruby -v
>ruby 1.8.0 (2002-12-24) [sparc-solaris2.8]
>$ irb
>  
>
>>>Math.PI
>>>      
>>>
>NoMethodError: undefined method `PI' for Math:Module
>        from (irb):5
>  
>

Math::PI