Skip to content

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

class method

Gem::SpecificationRecord.abi_scoped_spec_dir?

abi_scoped_spec_dir?(dir)

Whether dir is an ABI-scoped spec dir (.../specifications/<ruby_abi>). Requires the parent to be named specifications to avoid false positives.