Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::Commands::SetupCommand#show_release_notes
show_release_notes
lib/rubygems/commands/setup_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/commands/setup_command.rb, line 542
def show_release_notes
ref = Gem::VERSION.include?(".dev") ? "master" : "v#{Gem::VERSION}"
link = "https://github.com/ruby/rubygems/blob/#{ref}/CHANGELOG.md"
previous = options[:previous_version].to_s.strip
if previous.empty? || !Gem::Version.correct?(previous) ||
Gem::Version.new(previous) >= Gem::Version.new(Gem::VERSION)
say "See #{link} for the changes."
else
say "See #{link} for the changes since #{previous}."
end
end
No documentation available
See also
#shebang
#target_bin_path
#remove_old_man_files
#uninstall_old_gemcutter
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0