From: matt@... (Matt Neuburg) Date: 2010-10-27T01:23:05+09:00 Subject: Re: A question about require when using Shoes Ruby Student wrote: > Thank you for educating me. I am still learning! > Also, thank you for the link you gave me, "Just Enough Ruby", it appears > interesting! > > That said, I tried to save typing by using *require 'Math'*, which did not > work due to my obvious lack of knowledge. The way to save typing is to include, not require. So: include Math puts PI #=> 3.14159265358979 All of that is explained in the "Just Enough Ruby" document. m. -- matt neuburg, phd = matt@tidbits.com A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings