We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c75ca3 commit dede4faCopy full SHA for dede4fa
docsite/source/enum.html.md
@@ -59,7 +59,6 @@ class Cell < Dry::Struct
59
attribute :state, Types::String.enum('locked' => 0, 'open' => 1)
60
end
61
62
-
63
Cell.new(state: 'locked')
64
# => #<Cell state="locked">
65
docsite/source/extensions/maybe.html.md
@@ -17,7 +17,7 @@ Dry::Types.load_extensions(:maybe)
17
Types = Dry.Types()
18
```
19
20
-2. Append `.maybe` to a _Type_ to return a _Monad_ object
+2. Append `.maybe` to a _Type_ to return a _Monad_ object
21
22
```ruby
23
x = Types::Maybe::Strict::Integer[nil]
0 commit comments