abstract class Crystal::ModuleType
inherits Crystal::NamedType
¶
Base type for all module-like types (modules, classes, structs, enums).
Direct known subclasses
Crystal::ClassType
Crystal::EnumType
Crystal::GenericModuleType
Crystal::LibType
Crystal::NonGenericModuleType
Methods¶
#defs : Hash(String, Array(DefWithMetadata))?
¶
: Hash(String, Array(DefWithMetadata))?
Returns the methods defined in this type, indexed by their name. This does not include methods defined in ancestors.