module

Creatable

Class methods

all

Get all registered content types

any?

Check if any content type is registered

find_by_directory(dir : String) : ContentType | Nil

Find a content type by directory path

register(name : String, directory : String, description : String, &creator : Path -> Nil)

Register a content type that can be created

Nested types