Sha256: 2cc7ea773126b744def137212925f43154ec1026560898303073234a3a8ddf1c

Contents?: true

Size: 141 Bytes

Versions: 6

Compression:

Stored size: 141 Bytes

Contents

class ProconBypassMan::GC
  def self.stop_gc_in(&block)
    ::GC.disable
    result = block.call
    ::GC.enable
    return result
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
procon_bypass_man-0.3.3.1 lib/procon_bypass_man/support/gc.rb
procon_bypass_man-0.3.3 lib/procon_bypass_man/support/gc.rb
procon_bypass_man-0.3.2 lib/procon_bypass_man/support/gc.rb
procon_bypass_man-0.3.1 lib/procon_bypass_man/support/gc.rb
procon_bypass_man-0.3.0 lib/procon_bypass_man/support/gc.rb
procon_bypass_man-0.2.3 lib/procon_bypass_man/support/gc.rb