Skip to content

Instantly share code, notes, and snippets.

@samdozor
Created February 7, 2017 17:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samdozor/b06e8f4379549dd914857a0256f98cf5 to your computer and use it in GitHub Desktop.
Save samdozor/b06e8f4379549dd914857a0256f98cf5 to your computer and use it in GitHub Desktop.
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