Sha256: 8aab2da0371be2a13fe07af082687a8d8b077fe0fa160d540e09ec1856e8cbc6

Contents?: true

Size: 216 Bytes

Versions: 1

Compression:

Stored size: 216 Bytes

Contents

module Pact
  module MockService
    module OS

      extend self

      # Thanks RSpec
      def windows?
        !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pact-mock_service-2.1.1.pre.alpha.2 lib/pact/mock_service/os.rb