method

add_rubygems_trusted_certs

ruby latest stable - Class: Gem::Request

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

add_rubygems_trusted_certs(store)
public

No documentation available.

# File lib/rubygems/request.rb, line 31
  def add_rubygems_trusted_certs(store)
    pattern = File.expand_path("./ssl_certs/*.pem", File.dirname(__FILE__))
    Dir.glob(pattern).each do |ssl_cert_file|
      store.add_file ssl_cert_file
    end
  end