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