/usr/lib/ruby/vendor_ruby/specinfra/ext.rb is in ruby-specinfra 2.35.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2
require 'specinfra/ext/class' require 'specinfra/ext/string'