From: Ruby Student Date: 2010-10-19T04:49:59+09:00 Subject: A question about require when using Shoes --000e0cd172e02fc6420492e97b3e Content-Type: text/plain; charset=ISO-8859-1 I am playing with Shoes and Ruby and wanted to use the Math library on my simple Ruby program. I tried putting the require stmt BEFORE the *class MyCl*ass and it did not work. I then tried putting the require stmt BEFORE the *Shoes.app* declaration, and it did not work either. Where should I put the require "Math" stmt listed below? *require "Math"* and I also tried *require 'Math'* The following is basically my code structure: class MyClass def initialize blah blah blah end def aMethod more blah end end #MyClass Shoes.app :title => "My Title", :resizable => false do flow :width => "100%", :margin => 6 do stack :width => "30%" do blah blah end end stack :width => "70%" do blah blah blah end end # flow end #Shoes Thank you -- Ruby Student --000e0cd172e02fc6420492e97b3e--