core: disable documentation of description builder functions for multi-argument objects

This commit is contained in:
Marcel Otto 2017-05-25 16:56:29 +02:00
parent c82e76cb9e
commit 385183169d

View file

@ -190,18 +190,20 @@ defmodule RDF.Vocabulary.Namespace do
def unquote(name)(), do: @tmp_uri
@doc "`RDF.Description` builder for <#{@tmp_uri}>"
def unquote(name)(subject, object)
def unquote(name)(subject, object) do
RDF.Description.new(subject, @tmp_uri, object)
end
@doc false
def unquote(name)(subject, o1, o2),
do: unquote(name)(subject, [o1, o2])
@doc false
def unquote(name)(subject, o1, o2, o3),
do: unquote(name)(subject, [o1, o2, o3])
@doc false
def unquote(name)(subject, o1, o2, o3, o4),
do: unquote(name)(subject, [o1, o2, o3, o4])
@doc false
def unquote(name)(subject, o1, o2, o3, o4, o5),
do: unquote(name)(subject, [o1, o2, o3, o4, o5])
end