Method: Gem::Commands::CertCommand#remove_certificates_matching

Defined in:
lib/rubygems/commands/cert_command.rb

#remove_certificates_matching(filter) ⇒ Object

:nodoc:



283
284
285
286
287
288
# File 'lib/rubygems/commands/cert_command.rb', line 283

def remove_certificates_matching(filter) # :nodoc:
  certificates_matching filter do |certificate, path|
    FileUtils.rm path
    say "Removed '#{certificate.subject}'"
  end
end