Method: Gem::Specification#flatten_require_paths

Defined in:
lib/bundler/rubygems_ext.rb

#flatten_require_pathsObject



272
273
274
275
276
277
# File 'lib/bundler/rubygems_ext.rb', line 272

def flatten_require_paths
  return unless raw_require_paths.first.is_a?(Array)

  warn "#{name} #{version} includes a gemspec with `require_paths` set to an array of arrays. Newer versions of this gem might've already fixed this"
  raw_require_paths.flatten!
end