Sha256: 1e37c5978dc20a557f1b1f7955fe19a82e1dc7edf993381dde1ca8bf316050d7
Contents?: true
Size: 220 Bytes
Versions: 1
Compression:
Stored size: 220 Bytes
Contents
module PromisePool class Future < BasicObject def initialize promise @promise = promise end def method_missing msg, *args, &block @promise.yield.__send__(msg, *args, &block) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
promise_pool-0.1.0 | lib/promise_pool/future.rb |