class

SymbolTable

Inherits SymbolTable::Methods < Reference < Object

Allows to register symbols and then convert strings to them.

include Ifrit::SymbolTable

a = s(:asd)
# ...
"asd".to_sym # :asd

Constants

STR_HASH = {} of String => Symbol
SYM_HASH = {} of Symbol => String

Class methods

by_string(str)
Source

Nested types