instance method
Gem::Commands::LockCommand#spec_path
spec_path(gem_full_name)
lib/rubygems/commands/lock_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/commands/lock_command.rb, line 102
def spec_path(gem_full_name)
gemspecs = Gem.path.map do |path|
File.join path, "specifications", "#{gem_full_name}.gemspec"
end
gemspecs.find {|path| File.exist? path }
end
No documentation available