Sha256: 90bf3ba23151ec7f0cf7460275f268c5bb4154970e4aaf69c35476876f9e65f1

Contents?: true

Size: 409 Bytes

Versions: 8

Compression:

Stored size: 409 Bytes

Contents

if RUBY_VERSION < '2'
  warn 'Ractor not backported to Ruby 1.x'
elsif defined?(Ractor.current)
  # all good
else
  # Cloner:
  require_relative '../2.4.0/hash/transform_values'
  require_relative '../2.5.0/hash/transform_keys'
  # Queues & FilteredQueue
  require_relative '../2.3.0/queue/close'

  class Ractor
  end

  module Backports
    Ractor = ::Ractor
  end
  require_relative '../ractor/ractor'
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
backports-3.25.0 lib/backports/3.0.0/ractor.rb
backports-3.24.1 lib/backports/3.0.0/ractor.rb
backports-3.24.0 lib/backports/3.0.0/ractor.rb
backports-3.23.0 lib/backports/3.0.0/ractor.rb
backports-3.22.1 lib/backports/3.0.0/ractor.rb
backports-3.22.0 lib/backports/3.0.0/ractor.rb
backports-3.21.0 lib/backports/3.0.0/ractor.rb
backports-3.20.2 lib/backports/3.0.0/ractor.rb