You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 30, 2026. It is now read-only.
# configKatachi::KEY_PREFIX=:kt_# adding a shape without the prefix prepends itKatachi.add_shape(:foo,'foo')Katachi::Shapes[:kt_foo]# => 'foo'# adding a shape with the prefix leaves it aloneKatachi.add_shape(:kt_bar,'bar')Katachi::Shapes[:kt_bar]# => 'bar'# prefix can be either a string or a symbol; lookup responds accordinglyKatachi::KEY_PREFIX='ref:'Katachi.add_shape(:baz,'baz)Katachi::Shapes['ref:baz'] = 'baz'# Changing the prefix "alters" the keys of all existing shapesKatachi::Shapes['ref:foo'] = 'foo'Katachi::Shapes['ref:bar'] = 'bar'
# ^ Effectively this is placing a translation layer between the shape library and the user code