From: mark Date: 2005-11-04T10:07:09+09:00 Subject: html output from required file Can someone please tell me why this doesn't work? contents of test.rb ------------------------- class Test def draw %> draw method! <% end end contents of test.rhtml ---------------------------- <% require "test.rb" Test.new.draw %> when Test class is in the same file it works but when it is 'require'd I get errors. Thanks for any tip