Skip to content
Permalink
Browse files

Fixing codeblock in maybe.html.md

Currently it is not taken as ruby code because the
spaces at the beginning
  • Loading branch information
esparta committed Oct 21, 2019
1 parent 1a8361c commit 474490fc1ecc35bacce85e84791e321dbfe81db3
Showing with 8 additions and 8 deletions.
  1. +8 −8 docsite/source/extensions/maybe.html.md
@@ -9,14 +9,14 @@ The [dry-monads gem](/gems/dry-monads/) provides approach to handling optional v
> NOTE: Requires the [dry-monads gem](/gems/dry-monads/) to be loaded.
1. Load the `:maybe` extension in your application.
```ruby
require 'dry-types'
Dry::Types.load_extensions(:maybe)
module Types
include Dry.Types()
end
```
```ruby
require 'dry-types'
Dry::Types.load_extensions(:maybe)
module Types
include Dry.Types()
end
```

2. Append `.maybe` to a _Type_ to return a _Monad_ object

0 comments on commit 474490f

Please sign in to comment.
You can’t perform that action at this time.