Results for: "uniq"

Like Enumerable#chunk_while, but chains operation to be lazy-evaluated.

Calls wait repeatedly until the given block yields a truthy value.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Duplicates the deflate stream.

Make an internal copy of the source buffer. Updates to the copy will not affect the source buffer.

source = IO::Buffer.for("Hello World")
# =>
# #<IO::Buffer 0x00007fd598466830+11 EXTERNAL READONLY SLICE>
# 0x00000000  48 65 6c 6c 6f 20 57 6f 72 6c 64                Hello World
buffer = source.dup
# =>
# #<IO::Buffer 0x0000558cbec03320+11 INTERNAL>
# 0x00000000  48 65 6c 6c 6f 20 57 6f 72 6c 64                Hello World
No documentation available
No documentation available

Represents the optional source location for the opening token.

[1,2,3]                 # "["
%w[foo bar baz]         # "%w["
%I(apple orange banana) # "%I("
foo = 1, 2, 3           # nil

Represents the opening location of the array pattern.

foo in [1, 2]
       ^

Represents the location of the opening ‘|`.

[1, 2, 3].each { |i| puts x }
                 ^

Represents the opening location of the block parameters.

-> (a, b = 1; local) { }
   ^

foo do |a, b = 1; local|
       ^
end

Represents the location of the left parenthesis.

foo(bar)
   ^

attr_reader opening_loc: Location

attr_reader opening_loc: Location?

The location of the opening brace.

{ a => b }
^

attr_reader opening_loc: Location?

attr_reader opening_loc: Location

attr_reader opening_loc: Location

attr_reader opening_loc: Location

Search took: 3ms  ·  Total Results: 542