Skip to content

class Crystal::Select
inherits Crystal::ASTNode

Included modules

Crystal::ExpandableNode

Class methods

.new(whens, else = nil)

View source

Methods

#==(other : self)

Returns true if this reference is the same as other. Invokes same?.

#accept_children(visitor)

View source

#clone_without_location

View source

#else=(else : ASTNode?)

View source

#hash(hasher)

#whens : Array(When)

View source

#whens=(whens : Array(When))

View source