Add comment
This commit is contained in:
parent
2a5eec3a46
commit
f00e29a432
1 changed files with 6 additions and 0 deletions
|
@ -311,6 +311,12 @@ defmodule RDF do
|
||||||
defdelegate prefix_map(prefixes), to: RDF.PrefixMap, as: :new
|
defdelegate prefix_map(prefixes), to: RDF.PrefixMap, as: :new
|
||||||
defdelegate property_map(property_map), to: RDF.PropertyMap, as: :new
|
defdelegate property_map(property_map), to: RDF.PropertyMap, as: :new
|
||||||
|
|
||||||
|
############################################################################
|
||||||
|
# These alias functions for the RDF.NS.RDF namespace are mandatory.
|
||||||
|
# Without them the property functions are inaccessible, since the namespace
|
||||||
|
# can't be aliased, because it gets in conflict with the root namespace
|
||||||
|
# of the project.
|
||||||
|
|
||||||
defdelegate langString(value, opts), to: RDF.LangString, as: :new
|
defdelegate langString(value, opts), to: RDF.LangString, as: :new
|
||||||
defdelegate lang_string(value, opts), to: RDF.LangString, as: :new
|
defdelegate lang_string(value, opts), to: RDF.LangString, as: :new
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue