class

Crystal::Macros::ProcPointer

Inherits Crystal::Macros::ASTNode

A proc pointer, like ->my_var.some_method(String)

Instance methods

args

Returns the types of the arguments of the proc.

Source
global?

Returns true if this proc pointer refers to a global method (starts with :: and does not have a receiver).

Source
name

Returns the name of the method this proc points to.

Source
obj

Returns the receiver of the proc, or nil if the proc is not attached to an object.

Source