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