# File lib/polyglot.rb, line 64 def require(*a, &b) polyglot_original_require(*a, &b) rescue LoadError => load_error begin Polyglot.load(*a, &b) rescue Polyglot::NestedLoadError => e e.reraise rescue LoadError # Raise the original exception, possibly a MissingSourceFile with a path raise load_error end end
Generated with the Darkfish Rdoc Generator 2.