File size: 239 Bytes
8f3f8db
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
utilities
addMethod: aJSMethod
	"Add the given method to the code base."

	(methods includesKey:  aJSMethod selector) ifTrue: [
		self error: 'Method name conflict: ', aJSMethod selector.
	].
	methods at: aJSMethod selector put: aJSMethod.