instance method
Gem::Installer#formatted_program_filename
formatted_program_filename(filename)
lib/rubygems/installer.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/installer.rb, line 833
def formatted_program_filename(filename)
if @format_executable
self.class.exec_format % File.basename(filename)
else
filename
end
end
Prefix and suffix the program filename the same as ruby.