Sha256: 8c7029706da8d0d31a470afcd808d8325686d4726de4eee9514716c3ef05d325
Contents?: true
Size: 1007 Bytes
Versions: 11
Compression:
Stored size: 1007 Bytes
Contents
Smalltalk current createPackage: 'Kernel-Transcript' properties: #{}! Object subclass: #Transcript instanceVariableNames: 'textarea' category: 'Kernel-Transcript'! Transcript class instanceVariableNames: 'current'! !Transcript class methodsFor: 'instance creation'! open self current open ! new self shouldNotImplement ! current ^current ! register: aTranscript current := aTranscript ! ! !Transcript class methodsFor: 'printing'! show: anObject self current show: anObject ! cr self current show: String cr ! clear self current clear ! ! Object subclass: #ConsoleTranscript instanceVariableNames: 'textarea' category: 'Kernel-Transcript'! !ConsoleTranscript methodsFor: 'actions'! open ! ! !ConsoleTranscript methodsFor: 'printing'! clear "no op" ! cr "no op" ! show: anObject | string | string := anObject asString. <console.log(String(string))> ! ! !ConsoleTranscript class methodsFor: 'initialization'! initialize Transcript register: self new ! !
Version data entries
11 entries across 11 versions & 1 rubygems