Sha256: 56f7b2117b1f0bdbe7251c8e9f4592fcd7ad8048e31e15e218fbf211d3456060
Contents?: true
Size: 208 Bytes
Versions: 2
Compression:
Stored size: 208 Bytes
Contents
module SupplyDrop module Util def self.optionally_async(collection, async) if async collection.extend SupplyDrop::AsyncEnumerable else collection end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
supply_drop-0.6.0 | lib/supply_drop/util.rb |
supply_drop-0.5.0 | lib/supply_drop/util.rb |