From c248dca6eeaa6994fc3ab663f431238266417241 Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Fri, 16 Dec 2016 14:51:28 +0200 Subject: doc: section for field constructor parameters --- aconf/model/model.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'aconf/model/model.lua') 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 **<Model>**) base model -- inherited by the new model. -- @return **<Model>** new model -- cgit v1.2.3