From fc77516670a9e800ba51545bbbbe44af8506e50f Mon Sep 17 00:00:00 2001 From: David Montesdeoca Date: Mon, 20 Nov 2023 13:08:01 +0100 Subject: [PATCH] Fix typo in Custom Type Builders page --- 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`