self.class to get class instance vars was not the best choice
Merge pull request #8 from goncalvesjoao/master

self.class to get class instance vars was not the best choice