Sha256: 791c602ccd7fea066841b6ce2796fae66a65fcc71c8a9e2ca5bb9585cc6f2cce
Contents?: true
Size: 242 Bytes
Versions: 2
Compression:
Stored size: 242 Bytes
Contents
require 'asynchronous' # # kernel method for asyncron calls # basic version is : # # thr = async { "ruby Code here" } # thr.value #> "ruby Code here" # Kernel.class_eval do def async(&block) ::Asynchronous::Thread.new(&block) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
asynchronous-4.0.1 | lib/asynchronous/core_ext.rb |
asynchronous-4.0.0 | lib/asynchronous/core_ext.rb |