Module: HTTY::Platform

Defined in:
lib/htty/platform.rb

Overview

Provides methods for ascertaining system characteristics.

Class Method Summary collapse

Class Method Details

.windows?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/htty/platform.rb', line 6

def self.windows?
  !(RUBY_PLATFORM =~ /(mswin|mingw)/i).nil?
end