End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Specification#lib_files
lib_files
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/specification.rb, line 2107
def lib_files
@files.select do |file|
require_paths.any? do |path|
file.start_with? path
end
end
end
Files in the Gem under one of the require_paths
See also
#keep_only_files_and_directories
#license
#invalidate_memoized_attributes
#license=
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0