Method: Addressable::URI#inspect

Defined in:
lib/addressable/uri.rb

#inspectString

Returns a String representation of the URI object’s state.

Returns:

  • (String)

    The URI object’s state, as a String.



2384
2385
2386
# File 'lib/addressable/uri.rb', line 2384

def inspect
  sprintf("#<%s:%#0x URI:%s>", URI.to_s, self.object_id, self.to_s)
end