Method: Iri#inspect

Defined in:
lib/iri.rb

#inspectString

Returns a string representation of the Iri object for inspection purposes.

This method is used when the object is displayed in irb/console or with puts/p.

Returns:

  • (String)

    String representation for inspection



94
95
96
# File 'lib/iri.rb', line 94

def inspect
  @uri.to_s.inspect
end