Windows 7, Ruby 1.9.2.

The code is just in an arbitrary folder, so I have to include it with 
"require './file'" because otherwise Ruby can't find it.

The error just says there's no such method in my module, here's a 
snapshot of irb:

[code]
irb(main):001:0> require './mytest'
=> true
irb(main):002:0> MyTest
=> MyTest
irb(main):003:0> MyTest.class
=> Module
irb(main):004:0> MyTest.test1
NoMethodError: undefined method `test1' for MyTest:Module
        from (irb):4
        from C:/Ruby192/bin/irb:12:in `<main>'
[/code]

-- 
Posted via http://www.ruby-forum.com/.