Results for: "to_proc"

foo in bar ^^^^^^^^^^

foo => ^(bar)

^^^^^^

BEGIN {} ^^^^^^^^

/foo/ ^^^^^

Ripper gives back the escaped string content but strips out the common leading whitespace. Prism gives back the unescaped string content and a location for the escaped string content. Unfortunately these don’t work well together, so here we need to re-derive the common leading whitespace.

Visit a heredoc node that is representing a string.

Visit a heredoc node that is representing an xstring.

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

Sets the curve parameters. generator must be an instance of EC::Point that is on the curve. order and cofactor are integers.

See the OpenSSL documentation for EC_GROUP_set_generator()

No documentation available

Load extra data embed into binary format String object.

Example:

x.foo
 ^^^^
x.foo(42)
 ^^^^
x&.foo
 ^^^^^
x[42]
 ^^^^
x.foo = 1
 ^^^^^^
x[42] = 1
 ^^^^^^
x + 1
  ^
+x
^
foo(42)
^^^
foo 42
^^^
foo
^^^

Example:

x.foo(42)
      ^^
x[42]
  ^^
x.foo = 1
        ^
x[42] = 1
  ^^^^^^^
x[] = 1
  ^^^^^
x + 1
    ^
foo(42)
    ^^
foo 42
    ^^

Returns the node id for the given backtrace location.

begin
  raise
rescue =>  e
  loc = e.backtrace_locations.first
  RubyVM::AbstractSyntaxTree.node_id_for_backtrace_location(loc)
end # => 0
No documentation available

def foo(**); bar(**); end

^^

{ **foo }

^^^^^

foo(&bar)

^^^^

def foo(&bar); end

^^^^

A block’s parameters.

foo in bar ^^^^^^^^^^

foo => ^(bar)

^^^^^^

BEGIN {}

Search took: 2ms  ·  Total Results: 1563