Sha256: eeada2cc90247c489b43da6cb16be1bf848d61f0c87d1a36cfddb354db7b20fe
Contents?: true
Size: 186 Bytes
Versions: 1
Compression:
Stored size: 186 Bytes
Contents
# frozen_string_literal: true require_relative "defer/version" module Kernel def with_defer deferred = [] yield(deferred) ensure deferred.reverse_each(&:call) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-defer-0.1.0 | lib/ruby/defer.rb |