Sha256: 142f5b97ff143913aeb61427a35bf1bc4e215e31b3e303af2687ff261214e28e
Contents?: true
Size: 402 Bytes
Versions: 32
Compression:
Stored size: 402 Bytes
Contents
# frozen_string_literal: true module Puppet module Concurrent # Including Puppet::Concurrent::Synchronized into a class when running on JRuby # causes all of its instance methods to be synchronized on the instance itself. # When running on MRI it has no effect. if RUBY_PLATFORM == 'java' require 'jruby/synchronized' Synchronized = JRuby::Synchronized else module Synchronized; end end end end
Version data entries
32 entries across 32 versions & 1 rubygems