Module: Kernel
- Includes:
- FastRequire
- Defined in:
- lib/faster_require.rb
Constant Summary
Constants included from FastRequire
Class Method Summary collapse
- .original_remove_method ⇒ Object
-
.remove_method(method) ⇒ Object
I think this actually might be needed <sigh>.
Methods included from FastRequire
already_loaded, clear_all!, default_save, dir, guess_discover, load, loc, #require_cached, require_locs, sanitize, save, setup, string_array_cruddy_hash
Class Method Details
.original_remove_method ⇒ Object
345 |
# File 'lib/faster_require.rb', line 345 alias :original_remove_method :remove_method |
.remove_method(method) ⇒ Object
I think this actually might be needed <sigh>
347 348 349 350 351 352 353 |
# File 'lib/faster_require.rb', line 347 def remove_method method # I think this actually might be needed <sigh> if method.to_s == 'require' #p 'not removing old require, since that\'s ours now' else original_remove_method method end end |