Module: Rake::Win32
Do not use. This module is for internal use only.
| Relationships & Source Files | |
| Defined in: | lib/rake/win32.rb |
Overview
Win 32 interface methods for ::Rake. Windows specific functionality
will be placed here to collect that knowledge in one spot.
Class Attribute Summary
-
.windows? ⇒ Boolean
readonly
True if running on a windows system.
Class Attribute Details
.windows? ⇒ Boolean (readonly)
True if running on a windows system.
# File 'lib/rake/win32.rb', line 11
def windows? RbConfig::CONFIG["host_os"] =~ %r!(msdos|mswin|djgpp|mingw|[Ww]indows)! end