From e068351a3f5bf63ed85cd5d67a4a71048c5c0f60 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 29 Aug 2008 15:47:56 +0000 Subject: Cleanup and documentation --- libs/uci/luasrc/model/uci.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libs/uci/luasrc') diff --git a/libs/uci/luasrc/model/uci.lua b/libs/uci/luasrc/model/uci.lua index 7fc0c79fd4..3b135c532a 100644 --- a/libs/uci/luasrc/model/uci.lua +++ b/libs/uci/luasrc/model/uci.lua @@ -34,6 +34,7 @@ local error, pairs, ipairs, tostring = error, pairs, ipairs, tostring local require, getmetatable = require, getmetatable --- LuCI UCI model library. +-- @cstyle instance module("luci.model.uci") --- Create a new UCI-Cursor. @@ -50,10 +51,7 @@ function cursor_state() return cursor(nil, "/var/state") end ---- UCI-Cursor --- @class module --- @cstyle instance --- @name luci.model.uci.Cursor + local Cursor = getmetatable(cursor()) --- Applies the new config -- cgit v1.2.3