Missing brackets: 

```rb
return object.link if defined?(object.link)
```