class

Crystal::Macros::Extend

Inherits Crystal::Macros::ASTNode

An extend statement.

Every statement node is equivalent to:

extend {{ node.name }}

Instance methods

name

Returns the name of the type being extended.

Source