From: matz@... (Yukihiro Matsumoto) Date: 2002-02-11T12:08:21+09:00 Subject: Re: module behavior Hi, In message "module behavior" on 02/02/11, Chris "boris" Ross writes: |If you have a native module and a script module called 'foo' - with their |respective extensions and within a script you do: | | require "foo"; | |What is the behavior? Does just the native module get loaded? or does the |script get loaded? Or do both get loaded? and if so in what order? "foo.rb" has higher priority, so that it is loaded. You can load "foo.so" from "foo.rb" by explicitly specifying require "foo.so" This behavior is to wrap extension library by Ruby script. matz.