R
RichardOnRails
When I decided I should come up to speed on Modules, I found a simple
writeup on:
http://www.tutorialspoint.com/ruby/ruby_modules.htm.
The example worked fine as far hooking up the Module routines to the
main code went, but it didn't work because the author didn't finish
defining some of the methods, which I discovered by running the code.
I fleshed out the trig functions by using the math module, but that
bombed.
I posted my code and the error messages at http://www.pastie.org/1596692.
I'm running Ruby 1.8.6 over WinXP-Pro/SP3. I'm stuck on the complaint
that the math module cannot be found
However, the following seems to show that I've got the math module
installed:
K:\>gem list -l math
*** LOCAL GEMS ***
math (0.0.1)
mathml (0.8.1)
So, I can't see what's wrong. Any ideas?
Thanks in Advance,
Richard
writeup on:
http://www.tutorialspoint.com/ruby/ruby_modules.htm.
The example worked fine as far hooking up the Module routines to the
main code went, but it didn't work because the author didn't finish
defining some of the methods, which I discovered by running the code.
I fleshed out the trig functions by using the math module, but that
bombed.
I posted my code and the error messages at http://www.pastie.org/1596692.
I'm running Ruby 1.8.6 over WinXP-Pro/SP3. I'm stuck on the complaint
that the math module cannot be found
However, the following seems to show that I've got the math module
installed:
K:\>gem list -l math
*** LOCAL GEMS ***
math (0.0.1)
mathml (0.8.1)
So, I can't see what's wrong. Any ideas?
Thanks in Advance,
Richard