Sha256: bdf4217c96a6f639a16618f789bc33c1643497420882c3a0590efed3eaf4764a
Contents?: true
Size: 497 Bytes
Versions: 5
Compression:
Stored size: 497 Bytes
Contents
require 'rubygems' require 'lib/async_fu.rb' class YourClass1 def hello p 'start' p 'list ' + Thread.list.join( ' ') p 'main ' + Thread.main.to_s p 'this ' + Thread.current.to_s p 'end' end end af = AsyncFu.new(YourClass1.new) #af.hello class YourClass2 < AsyncFu def hello p 'start' p 'list ' + Thread.list.join( ' ') p 'main ' + Thread.main.to_s p 'this ' + Thread.current.to_s p 'end' end end ai = YourClass2.new ai.hello p ai.methods ai.exit
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
amirka-async-fu-1.1.1 | test/test-1.rb |
amirka-async-fu-1.1.2 | test/test-1.rb |
amirka-async-fu-1.1.3 | test/test-1.rb |
amirka-async-fu-1.1.4 | test/test-1.rb |
amirka-async-fu-1.2.0 | test/test-1.rb |