Skip to content
On this page
class · Ruby 4.0

Prism::CallTargetNode

< Prism::Node 20 instance methods 2 class methods

Represents assigning to a method call.

foo.bar, = 1
^^^^^^^

begin
rescue => foo.bar
          ^^^^^^^
end

for foo.bar in baz do end
    ^^^^^^^

Class methods 2

Instance methods 20

Attributes
Read

Represents the name of the method being called.

foo.bar = 1 # name `:foo`
^^^
Read

The object that the method is being called on. This can be any non-void expression.

foo.bar = 1
^^^