Skip to content

struct Crystal::ExhaustivenessChecker::EnumMemberPattern
inherits Struct

An enum member pattern is when you do when Foo::Bar and Bar is an enum member of Foo

Class methods

.new(member : Const)

View source

Methods

#clone

View source

#copy_with(member _member = @member)

View source

#member : Const