Module Rake::Win32
In: lib/rake/win32.rb

Win 32 interface methods for Rake. Windows specific functionality will be placed here to collect that knowledge in one spot.

Methods

Classes and Modules

Class Rake::Win32::Win32HomeError

Public Class methods

Normalize a win32 path so that the slashes are all forward slashes.

[Source]

    # File lib/rake/win32.rb, line 50
50:       def normalize(path)
51:         path.gsub(/\\/, '/')
52:       end

Run a command line on windows.

[Source]

    # File lib/rake/win32.rb, line 22
22:       def rake_system(*cmd)
23:         RepairedSystem.system(*cmd)
24:       end

True if running on a windows system.

[Source]

    # File lib/rake/win32.rb, line 17
17:       def windows?
18:         Config::CONFIG['host_os'] =~ /mswin|mingw/
19:       end

[Validate]