Module: Gem::LoadCache
- Defined in:
- lib/gem/cache.rb
Defined Under Namespace
Classes: Trie
Constant Summary collapse
- TRIE =
Trie.new
Class Method Summary collapse
Class Method Details
.set(path) ⇒ Object
11 12 13 14 |
# File 'lib/gem/cache.rb', line 11 def self.set(path) TRIE.trie = Trie.read(path) TRIE.values = Marshal.load(File.read "#{path}.list") end |