Sha256: 95435e9e56b0b5fb185662d2b12e52a53a23ae8a4fbc28538fc4555b430046a7
Contents?: true
Size: 338 Bytes
Versions: 5
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
5 entries across 5 versions & 2 rubygems