Sha256: cd5f4b790bcf45c26d1ee1eaf0128c05c650b8072d7e43d3abf5569e5e04d9c8

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.8'
  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.8 lib/gherkin/platform.rb
gherkin-2.11.8-x86-mswin32 lib/gherkin/platform.rb
gherkin-2.11.8-x86-mingw32 lib/gherkin/platform.rb
gherkin-2.11.8-java lib/gherkin/platform.rb