A better idiom is:

```
@host = host ||= Dogapi.find_localhost()
```