In Files

  • bundler/rubygems_ext.rb
  • bundler/rubygems_gem_installer.rb
  • bundler/rubygems_integration.rb
  • bundler/runtime.rb
  • bundler/setup.rb
  • bundler/shared_helpers.rb
  • bundler/source.rb
  • bundler/source/git.rb
  • bundler/source/git/git_proxy.rb
  • bundler/source/metadata.rb
  • bundler/source/path.rb
  • bundler/source/rubygems.rb
  • bundler/stub_specification.rb
  • bundler/vendored_persistent.rb
  • bundler/version_ranges.rb

Class/Module Index [+]

Quicksearch

Gem

Public Instance Methods

glob_files_in_dir(glob, base_path) click to toggle source
 
               # File bundler/rubygems_ext.rb, line 200
def glob_files_in_dir(glob, base_path)
  if RUBY_VERSION >= "2.5"
    Dir.glob(glob, :base => base_path).map! {|f| File.expand_path(f, base_path) }
  else
    Dir.glob(File.join(base_path.to_s.gsub(/[\[\]]/, '\\\\\\&'), glob)).map! {|f| File.expand_path(f) }
  end
end