From: "Andreas L." Date: 2011-11-08T01:29:47+09:00 Subject: How to include a function from a different file in a module Hi! Would it be possible to have a module with one or several of its methods (source code) stored in a different file? Something like this with "func_b" stored in a different file than the module. _________file1.rb_________ module MyModule def func_a ... end require "file2.rb" end _________file2.rb_________ def func_b ... end (This gived the error "private method `func_b called for MyModule:Module (NoMethodError)") BR, Andreas -- Posted via http://www.ruby-forum.com/.