Quick actions

cmd+k|ctrl+k

Navigation

Languages

OOP and Inheritance in Lua

Snippet info

Language

Lua

Visibility

public

Author

danielmg17

Created

2019-09-13T22:55:51Z

Updated

2019-09-14T04:57:08Z

require "foo"

x = Foo:new()
y = Foo:new()
y.txt = "bar"

print(x.txt)
print(y.txt)
INFO