Get the number of SvcParams
in this list.
Like Enumerable#chunk_while
, but chains operation to be lazy-evaluated.
Calls wait repeatedly until the given block yields a truthy value.
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
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
attr_reader opening_loc
: Location
?
attr_reader opening_loc
: Location
attr_reader opening_loc
: Location
?
attr_reader opening_loc
: Location
?
attr_reader opening_loc
: Location
attr_reader opening_loc
: Location
?