module RubbyCop::Platform

This module provides information on the platform that RubbyCop is being run on.

Public Class Methods

windows?() click to toggle source
# File lib/rubbycop/platform.rb, line 7
def self.windows?
  RUBY_PLATFORM =~ /cygwin|mswin|mingw|bccwin|wince|emx/
end