Sha256: da4690adf93608594c9043795d4826a50bbc8ffc5b8099011a665573e845db05

Contents?: true

Size: 184 Bytes

Versions: 1

Compression:

Stored size: 184 Bytes

Contents

require 'thread'

module SpringStandalone
  class << self
    def failsafe_thread
      Thread.new {
        begin
          yield
        rescue
        end
      }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spring_standalone-0.1.13 lib/spring_standalone/failsafe_thread.rb