Module: Gem
- Defined in:
- lib/mack/core_extensions/gem_kernel.rb
Class Method Summary collapse
- .__original_set_paths ⇒ Object
- .clear_searcher ⇒ Object
- .clear_source_index ⇒ Object
- .reset! ⇒ Object
- .set_paths(*gpaths) ⇒ Object
Class Method Details
.__original_set_paths ⇒ Object
18 |
# File 'lib/mack/core_extensions/gem_kernel.rb', line 18 alias_method :__original_set_paths, :set_paths |
.clear_searcher ⇒ Object
9 10 11 |
# File 'lib/mack/core_extensions/gem_kernel.rb', line 9 def clear_searcher @searcher = nil end |
.clear_source_index ⇒ Object
5 6 7 |
# File 'lib/mack/core_extensions/gem_kernel.rb', line 5 def clear_source_index @@source_index = nil end |
.reset! ⇒ Object
13 14 15 16 |
# File 'lib/mack/core_extensions/gem_kernel.rb', line 13 def reset! Gem.clear_source_index Gem.clear_searcher end |