Sha256: bd5835ec2ac0276029f735414b93ef230a041c2eedce6c2712cbf18b376c3aac
Contents?: true
Size: 403 Bytes
Versions: 20
Compression:
Stored size: 403 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
20 entries across 20 versions & 1 rubygems