LuaConfig:new

The constructor for a LuaConfig object (creates a new LuaConfig object).

Syntax

LuaConfig:new( config_buffer )

Arguments

Argument Description
config_buffer (string) The configuration to use to create the LuaConfig object.

Returns

(LuaConfig). The new LuaConfig object.

Example

local config_buffer = "[default]\nparameter=value"
local config = LuaConfig:new(config_buffer)

_HP_HTML5_bannerTitle.htm