smalltalk
/
osmo-st-core
Archived
1
0
Fork 0

pharo: Create >>#initialize methods that are called during load

This commit is contained in:
Holger Hans Peter Freyther 2013-04-01 10:47:48 +02:00
parent c9033c0aa0
commit 39dbe76bc7
1 changed files with 11 additions and 0 deletions

View File

@ -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
]
]