something like this?

```ruby
private

def links
  @links ||= URI.extract @text
end
```