From: Ruby Student Date: 2010-10-20T03:05:57+09:00 Subject: Re: A question about require when using Shoes --000e0cd2dfa4fd09a30492fc2471 Content-Type: text/plain; charset=ISO-8859-1 Hi ashbb, That "*include Math*" stmt worked fine. I truly appreciate your help. Thank you On Tue, Oct 19, 2010 at 12:16 PM, ashbb wrote: > Hi Ruby Student, > > In that case, use `include` instead of `require` like this: > > # test.rb > include Math > > class MyClass > def initialize; end > def aMethod; end > v = 125 > alert sqrt(v) > end > > Shoes.app :title => "My Title", :resizable => false do > flow :width => "100%", :margin => 6 do > stack :width => "30%" do > para sqrt(144) > end > end > stack :width => "70%" do > # blah blah blah > end > end > > Hope this helps, > ashbb > -- Ruby Student --000e0cd2dfa4fd09a30492fc2471--