Returns whether RDoc
defines its own install hooks through a RubyGems plugin. This and whatever is guarded by it can be removed once no supported Ruby
ships with RDoc
older than 6.9.0.
Return the best specification that contains the file matching path
amongst the specs that are not activated.
Search through all unresolved deps and sub-dependencies and return specs that contain the file matching path
.
Return the best specification in the record that contains the file matching path
amongst the specs that are not activated.
Enables use of shared session key material in accordance with RFC 5705.
A node that is missing from the syntax tree. This is only used in the case of a syntax error.
if /foo #{bar}/ then end ^^^^^^^^^^^^
This method is deprecated and should not be used. This is a no-op.
When , *, &, or … are used as an argument in a method call, we check if they were allowed by the current context. To determine that we build this lookup table.
Like Enumerable#map
, but chains operation to be lazy-evaluated.
(1..Float::INFINITY).lazy.map {|i| i**2 } #=> #<Enumerator::Lazy: #<Enumerator::Lazy: 1..Infinity>:map> (1..Float::INFINITY).lazy.map {|i| i**2 }.first(3) #=> [1, 4, 9]
Rewinds the enumerator chain by calling the “rewind” method on each enumerable in reverse order. Each call is performed only if the enumerable responds to the method.
Returns a printable version of the enumerator chain.
Rewinds the product enumerator by calling the “rewind” method on each enumerable in reverse order. Each call is performed only if the enumerable responds to the method.
Returns a printable version of the product enumerator.
Returns the number that defines the first element of this arithmetic sequence.
Convert this arithmetic sequence to a printable form.
Returns the remaining data held in the cipher object. Further calls to Cipher#update
or Cipher#final
will return garbage. This call should always be made as the last call of an encryption or decryption operation, after having fed the entire plaintext or ciphertext to the Cipher
instance.
If an authenticated cipher was used, a CipherError
is raised if the tag could not be authenticated successfully. Only call this method after setting the authentication tag and passing the entire contents of the ciphertext into the cipher.