On Wed, Mar 27, 2013 at 11:35 PM, Don Pick <lists / ruby-forum.com> wrote:

>  math.sqrt(9)
>  undefined local variable or method 'math' for main:Object
>
> How do I troubleshoot this?

To clarify Amalrik's answer: the names of modules and classes and such
are constants.  In Ruby this means they start with an uppercase
letter.  So, you want "Math", not "math".

-Dave

-- 
Dave Aronson, the T. Rex of Codosaurus LLC,
secret-cleared freelance software developer
taking contracts in or near NoVa or remote.
See information at http://www.Codosaur.us/.