From: J2M Date: 2006-10-17T23:00:22+09:00 Subject: Re: using classes problem Scott, A couple of things, probably not the cause, but you seem to have some of the naming conventions mixed... assuming that both files are in the same directory, it is good practice to not use cases in your file names, so I would code them; ----------------------------------------------------------------- testclass.rb ----------------------------------------------------------------- class TestClass def testMethod() return "Hello I am in TestClass" end end ----------------------------------------------------------------- classtester.rb ----------------------------------------------------------------- require 'testclass' ob = TestClass.new() puts("Testing: #{ob.testMethod()}") ----------------------------------------------------------------- The require is the filename without the .rb extension.