Method: Gem::BasicSpecification#matches_for_glob
- Defined in:
- lib/rubygems/basic_specification.rb
#matches_for_glob(glob) ⇒ Object
Return all files in this gem that match for glob.
267 268 269 270 271 272 |
# File 'lib/rubygems/basic_specification.rb', line 267 def matches_for_glob glob # TODO: rename? # TODO: do we need these?? Kill it glob = File.join(self.lib_dirs_glob, glob) Dir[glob].map { |f| f.untaint } # FIX our tests are broken, run w/ SAFE=1 end |