Module: RubbyCop::Platform
- Defined in:
- lib/rubbycop/platform.rb
Overview
This module provides information on the platform that RubbyCop is being run on.
Class Method Summary collapse
Class Method Details
.windows? ⇒ Boolean
7 8 9 |
# File 'lib/rubbycop/platform.rb', line 7 def self.windows? RUBY_PLATFORM =~ /cygwin|mswin|mingw|bccwin|wince|emx/ end |