Module: Katachi
- Defined in:
- lib/katachi.rb,
lib/katachi/version.rb
Overview
A tool for describing objects in a compact and readable way
Defined Under Namespace
Modules: Comparator, Shapes
Classes: AnyOf, ComparisonResult
Constant Summary
collapse
- VERSION =
"0.0.2.0"
Class Method Summary
collapse
Class Method Details
.add_shape(key, shape) ⇒ Object
14
|
# File 'lib/katachi.rb', line 14
def self.add_shape(key, shape) = Shapes.add(key, shape)
|
.any_of(*shapes) ⇒ Object
13
|
# File 'lib/katachi.rb', line 13
def self.any_of(*shapes) = AnyOf.new(*shapes)
|
.compare ⇒ Object
12
|
# File 'lib/katachi.rb', line 12
def self.compare(**) = Comparator.compare(**)
|