|
Module Rake::Win32 |
|
Win 32 interface methods for Rake. Windows specific functionality will be placed here to collect that knowledge in one spot.
| Methods |
| Classes and Modules |
| Public Class methods |
| normalize(path) |
Normalize a win32 path so that the slashes are all forward slashes.
# File lib/rake/win32.rb, line 50
50: def normalize(path)
51: path.gsub(/\\/, '/')
52: end
| rake_system(*cmd) |
Run a command line on windows.
# File lib/rake/win32.rb, line 22
22: def rake_system(*cmd)
23: RepairedSystem.system(*cmd)
24: end
| windows?() |
True if running on a windows system.
# File lib/rake/win32.rb, line 17
17: def windows?
18: Config::CONFIG['host_os'] =~ /mswin|mingw/
19: end