摘要: -- create class Account = {balance = 0} -- construct function Account:new(o) o = o or {} setmetatable(o,self) self.__index = self return o end function Account:deposit(v) ... 阅读全文
posted @ 2017-07-18 15:27 hao.ma 阅读(1638) 评论(0) 推荐(0) 编辑