mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-11 17:24:29 +02:00
Update lua-kr.html.markdown
This commit is contained in:
@@ -327,7 +327,7 @@ seymour:makeSound() -- 'woof woof woof' -- 4.
|
||||
-- 필요할 경우, 하위 클래스의 new()는 기반 클래스의 new()와 유사합니다.
|
||||
function LoudDog:new()
|
||||
newObj = {}
|
||||
-- set up newObj
|
||||
-- newObj를 구성
|
||||
self.__index = self
|
||||
return setmetatable(newObj, self)
|
||||
end
|
||||
@@ -420,4 +420,4 @@ learn.lua로 저장한 후 "lua learn.lua"를 실행해 보세요!
|
||||
|
||||
이 글은 tylerneylon.com에 처음으로 써본 글이며,
|
||||
<a href="https://gist.github.com/tylerneylon/5853042">Github의 Gist</a>에서도 확인할 수 있습니다.
|
||||
루아로 즐거운 시간을 보내세요!
|
||||
루아로 즐거운 시간을 보내세요!
|
||||
|
Reference in New Issue
Block a user