Getting Started
Install the gem and add to the application's Gemfile by executing:
$ bundle add katachi
If bundler is not being used to manage dependencies, install the gem by executing:
$ gem install katachi
From there, the gem can be required in the application by executing:
require 'katachi'
There are only 3 methods that Katachi provides. It's all about how you use them.
Katachi.compare(value:, shape:)
to compare a value against a shape.Katachi.any_of(shapes*)
for allowing a value to match any of the shapes.Katachi.add_shape(name, shape)
to add a custom shape.
For more information on how to use these methods, check out the Features section.