class

Crystal::Macros::Case

Inherits Crystal::Macros::ASTNode

A case expression.

Instance methods

cond

Returns the condition (target) of this case.

Source
else

Returns the else of this case.

Source
exhaustive?

Returns whether this case is exhaustive (case ... in).

Source
whens

Returns the whens of this case.

Source