pharo: Create >>#initialize methods that are called during load
This commit is contained in:
parent
c9033c0aa0
commit
39dbe76bc7
|
@ -1,4 +1,9 @@
|
|||
TimerScheduler extend [
|
||||
TimerScheduler class >> initialize [
|
||||
<category: 'loading'>
|
||||
^ self instance
|
||||
]
|
||||
|
||||
TimerScheduler class >> startUp [
|
||||
Smalltalk at: #OsmoTimeScheduler ifPresent: [
|
||||
OsmoTimeScheduler reinitialize.
|
||||
|
@ -17,3 +22,9 @@ TimerScheduler extend [
|
|||
self startLoop.
|
||||
]
|
||||
]
|
||||
|
||||
Dispatcher class extend [
|
||||
initialize [
|
||||
^ self instance
|
||||
]
|
||||
]
|
||||
|
|
Reference in New Issue