Suffixes for dynamic library require-able paths.
Returns all of the lines of the source code associated with this location.
Return true if there are possible conflicts against the currently loaded specs.
Enumerates the trusted certificates via Gem::Security::TrustDir
.
Indicates whether this DH
instance has a public key associated with it or not. The public key may be retrieved with DH#pub_key.
Indicates whether this DSA
instance has a public key associated with it or not. The public key may be retrieved with DSA#public_key
.
Returns whether this EC
instance has a public key. The public key (EC::Point
) can be retrieved with EC#public_key
.
The return value is always true
since every private key is also a public key.
Indicate that the request is for a gem explicitly requested by the user
Indicate that the request is for a gem requested as a dependency of another gem
Loads the given public key identified by id and data.
An EngineError
is raised of the OpenSSL::PKey
is unavailable.
Replace the value of start_line
with the given value.
Join lines with a trailing slash
source = <<~'EOM' it "code can be split" \ "across multiple lines" do EOM lines = CleanDocument.new(source: source).join_consecutive!.lines expect(lines[0].to_s).to eq(source) expect(lines[1].to_s).to eq("")