``` $this->type = preg_replace('@\d+$@', '', $short_class); ``` This is naive now we have generator classes like Module9And10 or Module7AndLower, which should both get 'Module' for this.
This is naive now we have generator classes like Module9And10 or Module7AndLower, which should both get 'Module' for this.