Sha256: b1d61be2b450dc54924cfbffd52f37f5f64076512dcf75dc80c37da3c42f852f
Contents?: true
Size: 338 Bytes
Versions: 6
Compression:
Stored size: 338 Bytes
Contents
require 'aruba/platforms/unix_platform' require 'aruba/platforms/windows_platform' # Aruba module Aruba PLATFORM_MUTEX = Mutex.new Platform = [Platforms::WindowsPlatform, Platforms::UnixPlatform].find(&:match?) PLATFORM_MUTEX.synchronize do @platform = Platform.new end class << self attr_reader :platform end end
Version data entries
6 entries across 6 versions & 1 rubygems