Results for: "Data"

The platform this gem works on.

Installs this specification using the Gem::Installer options. The install method yields a Gem::Installer instance, which indicates the gem will be installed, or nil, which indicates the gem is already installed.

After installation spec is updated to point to the just-installed specification.

No documentation available

This is a null install as this gem was unpacked into a directory. options are ignored.

Returns the file name of this frame. This will generally be an absolute path, unless the frame is in the main script, in which case it will be the script location passed on the command line.

For example, using caller_locations.rb from Thread::Backtrace::Location

loc = c(0..1).first
loc.path #=> caller_locations.rb
No documentation available

This method verifies that there are no (obvious) ambiguities with the provided col_sep and strip parsing options. For example, if col_sep and strip were both equal to \t, then there would be no clear way to parse the input.

Compile a ConstantPathAndWriteNode node

Compile a ConstantPathOrWriteNode node

Compile a InstanceVariableOperatorWriteNode node

Compile a InterpolatedMatchLastLineNode node

@foo += bar

becomes

@foo = @foo + bar

Dispatch enter and leave events for ConstantPathAndWriteNode nodes and continue walking the tree.

Dispatch enter and leave events for ConstantPathOrWriteNode nodes and continue walking the tree.

Dispatch enter and leave events for InstanceVariableOperatorWriteNode nodes and continue walking the tree.

Dispatch enter and leave events for InterpolatedMatchLastLineNode nodes and continue walking the tree.

Copy a ConstantPathAndWriteNode node

Copy a ConstantPathOrWriteNode node

Copy a InstanceVariableOperatorWriteNode node

Copy a InterpolatedMatchLastLineNode node

No documentation available
No documentation available

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:

Otherwise, x is contained as-is in the return value.

[{a:1}, {b:2}].lazy.flat_map {|i| i}.force
#=> [{:a=>1}, {:b=>2}]

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:

Otherwise, x is contained as-is in the return value.

[{a:1}, {b:2}].lazy.flat_map {|i| i}.force
#=> [{:a=>1}, {:b=>2}]

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

Search took: 4ms  ·  Total Results: 1843