lib/aruba/platform.rb in aruba-2.0.0 vs lib/aruba/platform.rb in aruba-2.0.1

- old
+ new

@@ -3,13 +3,13 @@ # Aruba module Aruba PLATFORM_MUTEX = Mutex.new - Platform = [Platforms::WindowsPlatform, Platforms::UnixPlatform].find(&:match?) + PLATFORM = [Platforms::WindowsPlatform, Platforms::UnixPlatform].find(&:match?) PLATFORM_MUTEX.synchronize do - @platform = Platform.new + @platform = PLATFORM.new end class << self attr_reader :platform end