Sha256: e03826959947cad42abec45aec1451cf22d73b9caa4638fef9e66850290810c9

Contents?: true

Size: 326 Bytes

Versions: 4

Compression:

Stored size: 326 Bytes

Contents

# Detect the platform we're running and warn if it is not supported

module Gherkin
unless defined?(Gherkin::VERSION)
  VERSION       = '2.11.7'
  JRUBY         = defined?(JRUBY_VERSION)

  if !JRUBY && !(RUBY_VERSION =~ /^(1\.8\.7|1\.9\.3|2\.0)/)
    warn("WARNING: Unsupported Ruby version - #{RUBY_VERSION}")
  end
end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gherkin-2.11.7 lib/gherkin/platform.rb
gherkin-2.11.7-x86-mswin32 lib/gherkin/platform.rb
gherkin-2.11.7-x86-mingw32 lib/gherkin/platform.rb
gherkin-2.11.7-java lib/gherkin/platform.rb