Module: Kernel
- Defined in:
- lib/xgem.rb
Instance Method Summary collapse
- #__xgem_original_autoload ⇒ Object
-
#__xgem_original_require ⇒ Object
save the pristine require BEFORE loading rubygems so we don’t have to go through its slow path…
- #autoload(symbol, path) ⇒ Object
- #require(path) ⇒ Object
Instance Method Details
#__xgem_original_autoload ⇒ Object
27 |
# File 'lib/xgem.rb', line 27 alias :__xgem_original_autoload :autoload |
#__xgem_original_require ⇒ Object
save the pristine require BEFORE loading rubygems so we don’t have to go through its slow path…
26 |
# File 'lib/xgem.rb', line 26 alias :__xgem_original_require :require |
#autoload(symbol, path) ⇒ Object
35 36 37 |
# File 'lib/xgem.rb', line 35 def autoload(symbol, path) __xgem_original_autoload symbol, XGem.resolve_autoload_path(path) end |