Dispatch enter and leave events for NumberedReferenceReadNode
nodes and continue walking the tree.
Default options for the gem install and update commands.
Returns a new lazy enumerator with the concatenated results of running block
once for every element in the lazy enumerator.
["foo", "bar"].lazy.flat_map {|i| i.each_char.lazy}.force #=> ["f", "o", "o", "b", "a", "r"]
A value x
returned by block
is decomposed if either of the following conditions is true:
x
responds to both each and force, which means that x
is a lazy enumerator.
x
is an array or responds to to_ary.
Otherwise, x
is contained as-is in the return value.
[{a:1}, {b:2}].lazy.flat_map {|i| i}.force #=> [{:a=>1}, {:b=>2}]
def contains_forwarding?: () -> bool
def contains_keywords?: () -> bool
def contains_splat?: () -> bool
def contains_splat?: () -> bool
Returns path to the extensions directory.
Indicated, based on the requested domain, if local gems should be considered.
Builds extensions. Valid types of extensions are extconf.rb files, configure scripts and rakefiles or mkrf_conf files.
Creates or an HTTP connection based on uri
, or retrieves an existing connection, using a proxy if needed.
The path where this gem installs its extensions.
Is this specification missing its extensions? When this returns true you probably want to build_extensions
Private setter for extensions val
.
Returns the destination encoding as an encoding object.
Returns the destination encoding as an encoding object.
Returns the destination encoding as an Encoding
object.