How to get an absolute link from WWW::Mechanize


#1

Hello !

I noticed links in mechanize have an absolute? method , which tells me
if a link is absolute or not , but not an option to_absolute . I would
like to avoid the following :

mech.get(some_link)
puts mech.page.uri

in order to get to the absolute address .

Is there a smarter way of achieving this ?