Классы и методы
Класс — это шаблон, на основе которого создаются отдельные объекты. В качестве примера рассмотрим класс Person. Объявить класс можно так:
class Person
end
Имена классов и вообще все имена типов в Crystal начинаются с заглавной буквы.
To the extent possible under law, the persons who contributed to this workhave waived
all copyright and related or neighboring rights to this workby associating CC0 with it.
https://crystal-lang.org/reference/1.2/syntax_and_semantics/classes_and_methods.html