I have a variable `val`, which can be `nil`, `true`, or `false`. I'm writing a method `convert`, which converts the input `val` and returns the following value according to `val`:

* `true` -> `true`
* `false` -> `false`
* `nil` -> `true`

I can do this with a `nil` check like:

```
def convert
  val.nil? ? true : val
end

```

How can I convert it without a [`nil` check](https://github.com/troessner/reek/blob/v4.8.2/docs/Nil-Check.md)?