diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2016-12-09 17:38:08 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2016-12-18 23:02:34 +0200 |
commit | 88a2ee4783d15c74f735f26c48b621b5e848d334 (patch) | |
tree | d93cdd85a385060861fea9d6b715e8e4594c6442 /aconf/model/root.lua | |
parent | c248dca6eeaa6994fc3ab663f431238266417241 (diff) | |
download | aconf-88a2ee4783d15c74f735f26c48b621b5e848d334.tar.bz2 aconf-88a2ee4783d15c74f735f26c48b621b5e848d334.tar.xz |
doc: describe functionality used in the dns-zone module
Diffstat (limited to 'aconf/model/root.lua')
-rw-r--r-- | aconf/model/root.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/aconf/model/root.lua b/aconf/model/root.lua index 32b013d..301e493 100644 --- a/aconf/model/root.lua +++ b/aconf/model/root.lua @@ -63,12 +63,12 @@ M.topology = setmetatable( --- inject a new field to the root model. -- @tparam string name name of the field --- @param field (<i>[<Field>](#Field_constructors)</i> or +-- @param field (<i>[<Field>](#Overview_of_field_classes)</i> or -- <i>[<Model>](#new)</i>) type of the field, specified by a --- field constructor or instance. Can also be specified by a model. +-- field class or instance. Can also be specified by a model. -- @tparam ?{[string]=any,...} params field parameters. Applicable -- when the type of the field is specified by a model or a field --- constructor. +-- class. function M.register(name, field, params) if not params then params = {} end params.create = true |