Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

instance method

OpenSSL::SSL::SSLSocket#string_new_capacity

string_new_capacity(p1)

TODO: This shouldn’t be necessary, but we do not want to use String.new(capacity: len) in sysread because it allocates Hash objects for the kwargs.