This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Prototipos { | |
| static init() { | |
| Object.metaClass { | |
| // Necesito 'prototipos' porque ahora tengo más de uno. | |
| prototipos = null | |
| dynamicProperties = null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Prototipo { | |
| static init() { | |
| Object.metaClass { | |
| prototype = null | |
| // La inicializo en null porque cuando redefino el constructor, ahi le digo que será un mapa. | |
| dynamicProperties = null |