# File lib_core/rucy/loader.rb, line 28 def scan Dir.foreach(@load_path) do |name| path = File.join(@load_path, name) if (File.file? path) then if (path =~ /\.rb$/) then yield(path) end end end nil end