Method: Gem::RemoteFetcher#https?

Defined in:
lib/rubygems/remote_fetcher.rb

#https?(uri) ⇒ Boolean

Returns:

  • (Boolean)


314
315
316
# File 'lib/rubygems/remote_fetcher.rb', line 314

def https?(uri)
  uri.scheme.downcase == 'https'
end