summaryrefslogtreecommitdiffstats
path: root/aconf/model/model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'aconf/model/model.lua')
-rw-r--r--aconf/model/model.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/aconf/model/model.lua b/aconf/model/model.lua
index 7417115..3a28d90 100644
--- a/aconf/model/model.lua
+++ b/aconf/model/model.lua
@@ -70,8 +70,9 @@ end
--- create a new model, representing a data model with a pre-defined
-- structure. The model's fields can be defined by assigning it
-- key–value pairs. The key will be the name of the field and
--- the value will determine its type. The value shall be a subclass of
--- @{Field}, an instance of such, or another **<Model>**.
+-- the value will determine its type. The value shall be a [field
+-- constructor](#Field_constructors), an instance of field, or another
+-- **<Model>**.
-- @param base (optional <i>**&lt;Model&gt;**</i>) base model
-- inherited by the new model.
-- @return <i>**&lt;Model&gt;**</i> new model