summaryrefslogtreecommitdiff
path: root/lib/rake/alt_system.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rake/alt_system.rb')
-rw-r--r--lib/rake/alt_system.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/rake/alt_system.rb b/lib/rake/alt_system.rb
index a42597bf09..aa7b7791b6 100644
--- a/lib/rake/alt_system.rb
+++ b/lib/rake/alt_system.rb
@@ -24,11 +24,13 @@
require 'rbconfig'
-#
+##
# Alternate implementations of system() and backticks `` on Windows
# for ruby-1.8 and earlier.
-#
-module Rake::AltSystem
+#--
+# TODO: Remove in Rake 11
+
+module Rake::AltSystem # :nodoc: all
WINDOWS = RbConfig::CONFIG["host_os"] =~
%r!(msdos|mswin|djgpp|mingw|[Ww]indows)!