In Files

Files

Class Index [+]

Quicksearch

Kernel

Public Instance Methods

polyglot_original_require(*a, &b) click to toggle source
Alias for: require
require(*a, &b) click to toggle source
    # File lib/polyglot.rb, line 62
62:   def require(*a, &b)
63:     polyglot_original_require(*a, &b)
64:   rescue LoadError => load_error
65:     begin
66:       Polyglot.load(*a, &b)
67:     rescue Polyglot::NestedLoadError => e
68:       e.reraise
69:     rescue LoadError
70:       # Raise the original exception, possibly a MissingSourceFile with a path
71:       raise load_error
72:     end
73:   end
Also aliased as: polyglot_original_require

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.