module Overcommit::OS
Methods relating to the current operating system
Constants
- SEPARATOR
Public Class Methods
Source
# File lib/overcommit/os.rb, line 9 def windows? !(/mswin|msys|mingw|bccwin|wince|emc/ =~ host_os).nil? end
Private Class Methods
Source
# File lib/overcommit/os.rb, line 31 def host_os @host_os ||= ::RbConfig::CONFIG['host_os'].freeze end