Method: RightDevelop::Utility::Shell#is_windows?
- Defined in:
- lib/right_develop/utility/shell.rb
#is_windows? ⇒ TrueClass|FalseClass
Returns true if running on Windows platform.
67 68 69 |
# File 'lib/right_develop/utility/shell.rb', line 67 def is_windows? return !!(RUBY_PLATFORM =~ /mswin|win32|dos|mingw|cygwin/) end |