Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::UserInteraction#terminate_interaction
terminate_interaction(exit_code = 0)
lib/rubygems/user_interaction.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/user_interaction.rb, line 156
def terminate_interaction(exit_code = 0)
ui.terminate_interaction exit_code
end
Terminates the RubyGems process with the given exit_code