Sha256: 352df0df467558c5416e40695564be64c83722aa8c820d897e307b93bb0c4da3

Contents?: true

Size: 310 Bytes

Versions: 1

Compression:

Stored size: 310 Bytes

Contents

# encoding: utf-8

module YARD  #:nodoc: all

  # Test if JRuby head is being used
  JRUBY_19MODE = RUBY_VERSION >= '1.9' && RUBY_ENGINE == 'jruby'

  # Fix jruby-head to use the ruby 1.8 parser until their ripper port is working
  Parser::SourceParser.parser_type = :ruby18 if JRUBY_19MODE

end # module YARD

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yardstick-0.9.7 lib/yardstick/yard_ext.rb