class Crystal::Macros::ProcLiteral
Overview
A proc method, written like:
->(arg : String) {
puts arg
}
Defined in:
compiler/crystal/macros.crInstance Method Summary
-
#args : ArrayLiteral(Arg)
Returns the arguments of this proc.
-
#body : ASTNode
Returns the body of this proc.
-
#return_type : ASTNode | Nop
Returns the return type of this proc, if specified.