|
|
6.6 Autoload
- Defined in namespace Smalltalk
- Category: Examples-Useful tools
- I am not a part of the normal Smalltalk kernel class system. I provide the
ability to do late-loading or "on demand loading" of class definitions.
Through me, you can define any class to be loaded when any message is sent to
the class itself (such as to create an instance).
6.6.1 Autoload class: instance creation
- class: classNameString from: fileNameString
- Make Smalltalk automatically load the class named classNameString from fileNameString when needed
6.6.2 Autoload: accessing
- doesNotUnderstand: aMessage
- Load the file, then reinvoke the method forwarding it to the newly loaded class.
|