Class: Devpack::GemGlob
- Inherits:
-
Object
- Object
- Devpack::GemGlob
- Defined in:
- lib/devpack/gem_glob.rb
Overview
Locates gems by searching in paths listed in GEM_PATH
Instance Method Summary collapse
Instance Method Details
#find(name) ⇒ Object
6 7 8 9 10 |
# File 'lib/devpack/gem_glob.rb', line 6 def find(name) matched_paths(name) .sort { |a, b| version(a) <=> version(b) } .reverse end |