Method: Iri#to_uri

Defined in:
lib/iri.rb

#to_uriURI

Converts the Iri object to a Ruby standard library URI object.

Returns:

  • (URI)

    A cloned URI object from the underlying URI



101
102
103
# File 'lib/iri.rb', line 101

def to_uri
  the_uri.clone
end