You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: helper.rb
    path of file: ./repos/nanoc/nanoc-checking/test
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

$VERBOSE = false

    
    def if_have(*libs)
      libs.each do |lib|
        if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby' && lib == 'nokogiri' && disable_nokogiri?
          skip 'Pure Java Nokogiri has issues that cause problems with Nanoc (see https://github.com/nanoc/nanoc/pull/422) -- run without DISABLE_NOKOGIRI to enable Nokogiri tests'
        end

        begin
          require lib
        rescue LoadError
          skip "requiring #{lib} failed"
        end