Yonaba / Lua-Class-System

Lua Class System (LCS) is a small library which offers a clean, minimalistic but powerful API for (Pseudo) Object Oriented programming style using Lua.
http://yonaba.github.com/Lua-Class-System
64 stars 17 forks source link

small fix for is_A class method #2

Closed gajop closed 12 years ago

gajop commented 12 years ago

the original expression would incorrectly return self:getClass() even when aClass was false if self:getClass() == aClass is false; this is also easier to read

Yonaba commented 12 years ago

Thanks!