You mean like this?

test.rb
______________

module Foo
  def test
    puts 'Hi from test() from module Foo.'
  end
end

include Foo
test
______________


irb(main):001:0> load 'C:\Users\Joel\Desktop\test.rb'
Hi from test() from module Foo.
=> true
irb(main):002:0> test
Hi from test() from module Foo.
=> nil
irb(main):003:0>

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