Skip to content

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

instance method

Gem::Package#content_address

content_address

Derives the content address from the gem’s file name and verifies it against the SHA256 digest of the file contents.