Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::BasicSpecification#full_require_paths
full_require_paths
lib/rubygems/basic_specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/basic_specification.rb, line 184
def full_require_paths
@full_require_paths ||=
begin
full_paths = raw_require_paths.map do |path|
File.join full_gem_path, path
end
full_paths << extension_dir if have_extensions?
full_paths
end
end
Full paths in the gem to add to $LOAD_PATH when this gem is activated.
See also
#full_name_with_location
#gem_dir
#full_name
#gems_dir
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0