Skip to content

Commit be8c9e1

Browse files
committed
Fixup module
1 parent e82383a commit be8c9e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docsite/source/optional-values.html.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Types themselves have optional attributes you can apply to get further functiona
1111
By default, nil values raise an error:
1212

1313
``` ruby
14+
Types = Dry.Types()
15+
1416
Types::Strict::String[nil]
1517
# => raises Dry::Types::ConstraintError
1618
```

0 commit comments

Comments
 (0)