Results for: "to_proc"

attr_reader name_loc: Location

attr_reader name_loc: Location

attr_reader name_loc: Location

attr_reader name_loc: Location

attr_reader name_loc: Location

attr_reader name_loc: Location

attr_reader name_loc: Location

attr_reader name_loc: Location

attr_reader name_loc: Location

attr_reader name_loc: Location

Compose a string representing the given inner location field.

Save the location using a saved source so that it can be retrieved later.

The location of the ‘alias` keyword.

alias $foo $bar
^^^^^

Represents the location of the ‘alias` keyword.

alias foo bar
^^^^^

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 optional source location for the closing token.

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

Represents the opening location of the array pattern.

foo in [1, 2]
       ^

Represents the closing location of the array pattern.

foo in [1, 2]
            ^

Represents the location of the opening ‘|`.

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

Represents the location of the closing ‘|`.

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

Represents the location of the block parameter name.

def a(&b)
       ^

Represents the opening location of the block parameters.

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

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

Represents the closing location of the block parameters.

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

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

The location of the ‘break` keyword.

break foo
^^^^^

Represents the location of the message.

foo.bar &&= value
    ^^^
Search took: 407ms  ·  Total Results: 2407