Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
module = function() as object
privateApi = function()
print "In a private function!"
end function
return {
publicApi: function()
'Nope! Can't do this - not in scope.
privateApi()
end function
}
end function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment