Methods

.ΒΆ

.(obj:BasicType, attr:Str)

Get BasicType (Int, Arr, Hash, ...) attribute. Throws AttrNotFound.

attr

Attribute to get. Currently only "name" and "constructors" are supported.

Returns

Str for "name" and Arr for "constructors".

Example

Hash.name  # String: Hash
Hash.constructors  # [<Native method Hash>,<Closure Hash at ...>,...]