-------------------------------------------------------------------------------- -- Title: LWSession.lua -- Description: Like a square peg in a round hole -- Author: Raphaël Szwarc http://alt.textdrive.com/lua/ -- Creation Date: February 1, 2005 -- Legal: Copyright (C) 2005 Raphaël Szwarc -------------------------------------------------------------------------------- -- import dependencies local LUObject = require( "LUObject" ) -- define the class local super = LUObject local self = super() -- initialization method function self:init( aContext ) self = super.init( self ) self._context = aContext return self end function self:context() return self._context end return self