From ebe633b8780dd31072eaddc01318fc7a3f983a0f Mon Sep 17 00:00:00 2001 From: Jonas Schubert Erlandsson Date: Tue, 12 Mar 2024 12:56:19 +0200 Subject: [PATCH] Fixes typo --- docsite/source/custom-type-builders.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/source/custom-type-builders.html.md b/docsite/source/custom-type-builders.html.md index 7e1d1174..e49d6916 100644 --- a/docsite/source/custom-type-builders.html.md +++ b/docsite/source/custom-type-builders.html.md @@ -9,7 +9,7 @@ It is idiomatic to construct new types based on existing. ```ruby source_type = Dry::Types['integer'] constructor_type = source_type.constructor(Kernel.method(:Integer)) -consrained_type = constructor_type.constrained(gteq: 18) +constrained_type = constructor_type.constrained(gteq: 18) ``` This API can be extended with `Dry::Types.define_builder`