Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::TargetRbConfig#[]
[](key)
lib/rubygems/target_rbconfig.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/target_rbconfig.rb, line 47
def [](key)
@rbconfig::CONFIG[key]
end
Queries the configuration for the given key.