Results for: "to_proc"

No documentation available

Convert back to the [name, version, platform] tuple

No documentation available
No documentation available
No documentation available

Returns an Array of source URI Strings.

No documentation available

Renders the document back to a string

No documentation available

Renders the given line

Also allows us to represent source code as an array of code lines.

When we have an array of code line elements calling ‘join` on the array will call `to_s` on each element, which essentially converts it back into it’s original source string.

No documentation available
No documentation available
No documentation available

Constructs String from URI.

Constructs String from URI.

Converts the contents of the database to an array of [key, value] arrays, and returns it.

Returns digest_obj.hexdigest().

No documentation available
No documentation available

Similar to Object#to_enum, except it returns a lazy enumerator. This makes it easy to define Enumerable methods that will naturally remain lazy if called from a lazy enumerator.

For example, continuing from the example in Object#to_enum:

# See Object#to_enum for the definition of repeat
r = 1..Float::INFINITY
r.repeat(2).first(5) # => [1, 1, 2, 2, 3]
r.repeat(2).class # => Enumerator
r.repeat(2).map{|n| n ** 2}.first(5) # => endless loop!
# works naturally on lazy enumerator:
r.lazy.repeat(2).class # => Enumerator::Lazy
r.lazy.repeat(2).map{|n| n ** 2}.first(5) # => [1, 1, 4, 4, 9]
No documentation available

Returns the Fiddle::Pointer of this handle.

No documentation available

Get the underlying pointer for ruby object val and return it as a Fiddle::Pointer object.

No documentation available
Search took: 3ms  ·  Total Results: 2407