Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class method
Gem.ruby_abi
ruby_abi
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems.rb, line 984
def self.ruby_abi
ruby_version.segments.first(2).join(".")
end
The ABI scope for the currently running Ruby.