module Magiika::Util
Extended Modules
Defined in:
util/access_control.crutil/algo.cr
util/macros.cr
util/object_extensions.cr
Macro Summary
- def_iface_is_a(ident, instance_iface, class_iface)
- downcase?(obj)
- is_a!(obj, _type)
- pvar(stmt)
- upcase?(obj)
Instance Method Summary
- #access?(have_access : Access, need_access : Access) : Bool
- #access_of?(evaluating_scope : Scope, caller_scope : Scope::Cls) : Access
- #access_of?(evaluating_scope : Scope, caller_scope : Scope | Nil = nil) : Access
-
#similarity(s : String, t : String)
FIXME Just use the version that comes with crystal https://crystal-lang.org/api/1.12.1/Levenshtein.html
- #terminated_concat(string_array : Array(String)) : String
Macro Detail
Instance Method Detail
def similarity(s : String, t : String)
#
FIXME Just use the version that comes with crystal https://crystal-lang.org/api/1.12.1/Levenshtein.html
Levenshtein distance src: https://en.wikipedia.org/wiki/Levenshtein_distance#Computation