Class: CavalerieWeb::OSHelper
- Inherits:
-
Object
- Object
- CavalerieWeb::OSHelper
- Defined in:
- lib/cavalerie_web/helpers/os_helper.rb
Class Method Summary collapse
Class Method Details
.is_windows? ⇒ Boolean
5 6 7 |
# File 'lib/cavalerie_web/helpers/os_helper.rb', line 5 def self.is_windows? RbConfig::CONFIG['host_os'] =~ /mswin|mingw|cygwin/ end |