Adds name
with permissions mode
to the tar, yielding io
for writing the file. The digest_algorithm
is written to a read-only name
.sum file following the given file contents containing the digest name and hexdigest separated by a tab.
The created digest object is returned.
See the OpenSSL
documentation for EC_GROUP_get_degree()
Regexp
allow interpolation but are handled differently during unescaping
Is this tar entry a directory?
Reads maxlen
bytes from the tar file entry, or the rest of the entry if nil
Rewinds to the beginning of the tar file entry
The offset from the start of the file in code units of the given encoding.
in [foo, bar, baz]
in InstanceVariableReadNode[name: Symbol] in { name: Symbol
}
Returns the full name of this Gem
(see ‘Gem::BasicSpecification#full_name`). Information about where the gem is installed is also included if not installed in the default GEM_HOME.
Scanning is intentionally conservative because we have no way of rolling back an aggressive block (at this time)
If a block was stopped for some trivial reason, (like an empty line) but the next line would have caused it to be balanced then we can check that condition and grab just one more line either up or down.
For example, below if we’re scanning up, line 2 might cause the scanning to stop. This is because empty lines might denote logical breaks where the user intended to chunk code which is a good place to stop and check validity. Unfortunately it also means we might have a “dangling” keyword or end.
1 def bark 2 3 end
If lines 2 and 3 are in the block, then when this method is run it would see it is unbalanced, but that acquiring line 1 would make it balanced, so that’s what it does.