:- end_class +ClassName.
A class definition continues until the next
end_class/[0,1] directive, the next
class/1 directive, or the
end of the file, whichever comes first.
It is not possible to nest one class definition within another.
All clauses that look like method definitions (that is, which have
>>/2 as the principal functors of
their heads) are considered to be method definitions for the class.
The argument to
end_class/1, if specified,
must match the class name of the preceding