Looks up the latest specification for dependency
and adds it to the always_install list.
if /foo #{bar}/ then end
^^^^^^^^^^^^
Constructs a new source range by finding the given character between the given start offset and end offset. If the needle is not found, it returns nil. Importantly it does not search past newlines or comments.
Note that end_offset is allowed to be nil, in which case this will search until the end of the string.
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.
Returns the number that defines the common difference between two adjacent elements in this arithmetic sequence.
Returns the first number in this arithmetic sequence, or an array of the first n
elements.
Returns the last number in this arithmetic sequence, or an array of the last n
elements.
Convert this arithmetic sequence to a printable form.
Returns the hash value of a given string. This is equivalent to Digest::Class.new(*parameters)
.digest(string), where extra parameters, if any, are passed through to the constructor and the string is passed to digest()
.
Returns the hex-encoded hash value of a given string. This is almost equivalent to Digest.hexencode
(Digest::Class.new(*parameters)
.digest(string)).
Returns the base64 encoded hash value of a given string. The return value is properly padded with ‘=’ and contains no line feeds.