lib/aruba/platform.rb in aruba-1.0.0.pre.alpha.4 vs lib/aruba/platform.rb in aruba-1.0.0.pre.alpha.5
- old
+ new
@@ -2,19 +2,12 @@
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