RDF.IRI.to_string

You're seeing just the function to_string, go back to RDF.IRI module for more information.

Specs

to_string(t() | module()) :: String.t()

Returns the given IRI as a string.

Note that this function can also handle RDF.Vocabulary.Namespace terms.

Examples

iex> RDF.IRI.to_string RDF.IRI.new("http://example.com/#foo")
"http://example.com/#foo"
iex> RDF.IRI.to_string EX.foo
"http://example.com/#foo"
iex> RDF.IRI.to_string EX.Foo
"http://example.com/#Foo"