Module: RUtilAnts::Platform

Defined in:
lib/rUtilAnts/Platform.rb,
lib/rUtilAnts/Platforms/unix/PlatformInfo.rb,
lib/rUtilAnts/Platforms/linux/PlatformInfo.rb,
lib/rUtilAnts/Platforms/cygwin/PlatformInfo.rb,
lib/rUtilAnts/Platforms/macosx/PlatformInfo.rb,
lib/rUtilAnts/Platforms/windows/PlatformInfo.rb

Defined Under Namespace

Modules: PlatformInfo, PlatformInterface Classes: Manager

Constant Summary collapse

OS_WINDOWS =

OS constants

0
OS_LINUX =
1
OS_CYGWIN =
2
OS_MACOSX =
3

Class Method Summary collapse

Class Method Details

.install_platform_on_objectObject

Initialize the platform info



60
61
62
63
# File 'lib/rUtilAnts/Platform.rb', line 60

def self.install_platform_on_object
  require 'rUtilAnts/SingletonProxy'
  RUtilAnts::make_singleton_proxy(RUtilAnts::Platform::PlatformInterface, Object)
end